UITextField控件事件:UIControlEventEditingChanged与UIControlEventAllEditingEvents

时间:2013-03-30 19:10:46

标签: ios objective-c

这两个UIControlEvents之间有什么区别?

文档说:

UIControlEventAllEditingEvents   // All editing touches for UITextField objects.
UIControlEventEditingChanged     // A touch making an editing change in a UITextField object.

特别是UIControlEventAllEditingEvents对我来说并不清楚,因为我没有得到'所有编辑功能'的含义。

1 个答案:

答案 0 :(得分:1)

据推测,只要其中一个发生,就会发生事件UIControlEventAllEditingEvents

UIControlEventEditingDidBegin 
UIControlEventEditingChanged
UIControlEventEditingDidEnd 
UIControlEventEditingDidEndOnExit