UITextField控件事件:UIControlEventEditingChanged与UIControlEventAllEditingEvents

时间:2022-09-20 06:49:58

What is the difference between these two UIControlEvents?

这两个UIControlEvents有什么区别?

The documentation says:

文件说:

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

Especially UIControlEventAllEditingEvents is not clear to me, as I don't get what 'all editing touches' mean.

特别是UIControlEventAllEditingEvents对我来说并不清楚,因为我没有得到“所有编辑接触”的含义。

1 个解决方案

#1


1  

Presumably, the event UIControlEventAllEditingEvents occurs whenever one of these occur:

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

UIControlEventEditingDidBegin 
UIControlEventEditingChanged
UIControlEventEditingDidEnd 
UIControlEventEditingDidEndOnExit

#1


1  

Presumably, the event UIControlEventAllEditingEvents occurs whenever one of these occur:

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

UIControlEventEditingDidBegin 
UIControlEventEditingChanged
UIControlEventEditingDidEnd 
UIControlEventEditingDidEndOnExit