IOS Study Notes OC-common constants, 2015-04-10oc-
A common constant (I) about button 1 UIControlState ---> button State A UIControlStateNormal default state general State B UIControlStateHighlighted highlighted State C UIControlStateDisabled disabled state D UIControlStateSelected selected State E UIControlStateApplication F when the application flag UIControlStateReserved is reserved for the internal framework, whether it is two UIButtonType ---> button type A UIButtonTypeCustom custom type B UIButtonTypeRoundedRect rounded corner rectangle C # small blue arrow button, mainly for details use D UIButtonTypeInfoLight, Bright color exclamation point E UIButtonTypeInfoDark, dark color exclamation point F UIButtonTypeContactAdd, cross plus button 3 UIControlEvents event trigger status A UIControlEventTouchDown single point touch event: when the user clicks the screen, or when A new finger falls. B UIControlEventTouchDownRepeat: When you press the second, third, or fourth finger, the trigger count is greater than 1. C UIControlEventTouchDragInside when one touch is dragged in the control window E UIControlEventTouchDragOutside when one touch is dragged outside the control window. F UIControlEventTouchDragEnter: When a touch is dragged from outside the control window to the interior. G UIControlEventTouchDragExit when one touch is dragged from the control window to the outside, H UIControlEventTouchUpInside all the touch lift events within the control. J UIControlEventTouchUpOutside all the touch-up events outside the control (the touch must start and send notifications inside the control ). K UIControlEventTouchCancel all touch cancellation events, that is, one touch is canceled because too many fingers are put, or locked or the call is interrupted. L 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 send notifications when M UIControlEventEditingDidBegin starts editing when the slider is dragged. N UIControlEventEditingChanged: a notification is sent when the text in the text control is changed. O UIControlEventEditingDidEnd send a notification when the text control is edited. P UIControlEventEditingDidOnExit sends a notification when the editing is completed by pressing the Enter key (or equivalent act) in the text control. Q UIControlEventAlltouchEvents notifies all touch events. R UIControlEventAllEditingEvents notifies all text editing events. T UIControlEventAllEvents notifies all events.