Called when a touch event enters the control’s bounds.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The object containing information about the touch event.
The event object containing the touch event.
YES if the control should continue tracking touch events or
NO if it should stop. This value is used to update the
tracking property of the control.
The default implementation of this method always returns
YES. Subclasses can override this method and use it to respond to events. Use the provided event information to detect which part of your control was hit and to set up any initial state information. If you want to continue tracking the touch event, return
YES. If you want to stop tracking the touch event, return