UIControlEventAllEditingEvents

UIControlEventAllEditingEvents

这两个UIControlEvents有什么区别?

该文档说:

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

尤其是UIControlEventAllEditingEvents对我来说还不清楚,因为我不明白“所有编辑操作”的含义。

最佳答案

据推测,事件UIControlEventAllEditingEvents会在以下任何一种情况发生时发生:

UIControlEventEditingDidBegin
UIControlEventEditingChanged
UIControlEventEditingDidEnd
UIControlEventEditingDidEndOnExit

关于ios - UITextField控件事件:UIControlEventEditingChanged与UIControlEventAllEditingEvents,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15722387/

10-12 17:17