Meaning of all touch events in uicontrolevents

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.