Highlighted state of a control.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
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