Enumeration Case

UIControlStateHighlighted

Highlighted state of a control.

Declaration

UIControlStateHighlighted = 1 << 0

Discussion

A control becomes highlighted when a touch event enters the control’s bounds, and it loses that highlight when there is a touch-up event or when the touch event exits the control’s bounds. You can retrieve and set this value through the highlighted property.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software