What exactly are the differences between the UIControlEvents
.EditingDidEnd
and .EditingDidEndOnExit
, and how do they relate to each other?
The documentation on UIControl is pretty vague, and has no information of whether these fire for different reasons, if one is a superset of the other, or if they're functionally equivalent.
The possibility of one being a superset is especially confusing, since the naming implies that .EditingDidEndOnExit
is a specific occurrence of .EditingDidEnd
, but the documentation seems to imply the opposite.
EditingDidEndOnExit
does dismiss the keyboard. ButEditingDidEnd
seems dismiss if I click in another text field, but not in any-other location (off-a-field) – Privett