Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当有人按下 iPad 键盘上的撤消按钮时,我需要处理该事件。我已经检查过了,没有调用任何委托方法。有没有人有同样的问题?
我有同样的问题。为您的文本字段添加操作:
[textField addTarget:self action:@selector(textFieldValueChanged:) forControlEvents:UIControlEventEditingChanged];
现在您可以在textFieldValueChanged:(UITextField *)aTextField
textFieldValueChanged:(UITextField *)aTextField