iOS Development UI Foundation Uicontrol Events

Source: Internet
Author: User

Uicontrol Events
1.UIControlEventTouchDown
Single Touch Press event: The user touches the screen, or when a new finger falls.


2.UIControlEventTouchDownRepeat
Multi-touch Press event, touch count greater than 1: when the user presses the second to third or fourth finger.


3.UIControlEventTouchDragInside
When a touch is dragged within the control window.


4.UIControlEventTouchDragOutside
When a touch is dragged outside the control window.


5.UIControlEventTouchDragEnter
When a touch is dragged from outside the control window to the inside.


6.UIControlEventTouchDragExit
When a touch is dragged from inside the control window to the outside.


7.UIControlEventTouchUpInside
All touch lift events within the control.


8.UIControlEventTouchUpOutside
All touch lift events outside the control (the touch must start with the inside of the control to send a notification).


9.UIControlEventTouchCancel
All touch cancellation events, that is, one touch is canceled because it has too many fingers, or is locked or interrupted by a phone call.


10.UIControlEventTouchChanged
Sends a notification when the value of the control has changed. Used for sliders, segmented controls, and other controls that take values. You can configure when a slider control sends notifications when the slider is dropped, or when it is dragged.


11.UIControlEventEditingDidBegin
Sends a notification when the text control starts editing.


12.UIControlEventEditingChanged
A notification is sent when the text in the text control is changed.


13.UIControlEventEditingDidEnd
Sends a notification when the edit ends in a text control.


14.UIControlEventEditingDidOnExit
Sends a notification when the edit is finished by pressing the ENTER key (or equivalent behavior) within the text control.


15.UIControlEventAlltouchEvents
Notifies all touch events.


16.UIControlEventAllEditingEvents
Notifies all events about text editing.


17.UIControlEventAllEvents
Notify All Events

iOS Development UI Foundation Uicontrol Events

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.