InControl eventBriefly explain the following events.
Note: because it was tested in the "iOS Simulator", you can only use the mouse instead of your fingers.
1) uicontroleventtouchdown
Left mouse buttonPress(Note: Only "Press") Action
2) uicontroleventtouchdownrepeat
Left mouse buttonRepeated press multiple times in a row(Note: Only press), for example, double-click the mouse, three-click ,...... .
Note: The Event Sequence is as follows:
Uicontroleventtouchdown->
(Uicontroleventtouchupinside)->
Uicontroleventtouchdown->
Uicontroleventtouchdownrepeat->
(Uicontroleventtouchupinside)->
Uicontroleventtouchdown->
Uicontroleventtouchdownrepeat->
(Uicontroleventtouchupinside)->
...
Except for the first press, each subsequent press is a uicontroleventtouchdown event, followed by a uicontroleventtouchdownrepeat event.
3) uicontroleventtouchdraginside
By pressing the mouse and dragging it within the control boundary.
4) uicontroleventtouchdragoutside
Unlike uicontroleventtouchdraginside, when dragging, the mouse is out of the control boundary range. However, you must first have a uicontroleventtouchdown event, then a uicontroleventtouchdraginside event, and then a uicontroleventtouchdragexit event. When the mouse is already out of the control, the uicontroleventtouchdragoutside event will continue to be dragged.
The specific operation is to press the mouse in the control and drag it out of the control.
5) uicontroleventtouchdragenter
It refers to the event generated during the drag action from outside the control boundary to the inner.
6) uicontroleventtouchdragexit
An event generated when the widget is dragged from inside to outside the control boundary.
7) uicontroleventtouchupinside
When the mouse is raised within the control range, you must first press the uicontroleventtouchdown or uicontroleventtouchdownrepeat event.
8) uicontroleventtouchupoutside
When the mouse is lifted out of the control boundary, you must first press the mouse and drag it out of the control, that is, uicontroleventtouchdown-> uicontroleventtouchdraginside (N)-> uicontroleventtouchdragoutside (N) the time series, and then the mouse is raised to generate the uicontroleventtouchupoutside event.