Meaning of all touch events in uicontrolevents
For example, to implement uibutton by following one action, and then manually lift an action, the two events are:Touchdown and touchupinside
Uicontroleventtouchdown
Single point touch: when a user clicks the screen, or a new finger falls.
Uicontroleventtouchdownrepeat
When you press the second, third, or fourth finger, the trigger count is greater than 1.
Uicontroleventtouchdraginside
When one touch is dragged in the control window.
Uicontroleventtouchdragoutside
When one touch is dragged outside the control window.
Uicontroleventtouchdragenter
When one touch is dragged from outside the control window to the interior.
Uicontroleventtouchdragexit
When a touch is dragged from the inside of the control window to the outside.
Uicontroleventtouchupinside
All touch-up events within the control.
Uicontroleventtouchupoutside
All touch-up events outside the control (the touch must start with the control before sending notifications to the control ).
Uicontroleventtouchcancel
All touch cancellation events, that is, one touch is canceled because too many fingers are put on it, or it is locked or the call is interrupted.
Uicontroleventtouchchanged
Send a notification when the value of the control changes. It is used for slider, segment control, and other value controls. You can configure the slider control to send notifications when the slider is put down, or when the slider is dragged.
Uicontroleventeditingdidbegin
A notification is sent when editing is started in the text control.
Uicontroleventeditingchanged
A notification is sent when the text in the text control is changed.
Uicontroleventeditingdidend
A notification is sent when the editing ends in the text control.
Uicontroleventeditingdidonexit
Send a notification when the text control ends editing by pressing the Enter key (or equivalent behavior.
Uicontroleventalltouchevents
Notify all touch events.
Uicontroleventalleditingevents
Notify all text editing events.
Uicontroleventallevents
Notify all events.
Meaning of all touch events in uicontrolevents