Type Property

highlighted

Highlighted state of a control.

Declaration

static var highlighted: UIControl.State { get }

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 isHighlighted property.