isTouchInside
A Boolean value that indicates whether a tracked touch event is currently inside the control’s bounds.
Declaration
var isTouchInside: Bool { get }Return Value
true if the location of the most recent touch event is inside the control’s bounds or false if it is not.
Discussion
While tracking of a touch event is ongoing, the control updates the value of this property to indicate whether the most recent touch is still inside the control’s bounds. The control uses this information to trigger specific events. For example, touch events entering or exiting a control trigger appropriate drag events.