Instance Property

wantsRestingTouches

A Boolean value indicating whether the view wants resting touches.

Declaration

@property BOOL wantsRestingTouches;

Discussion

A resting touch occurs when a user rests their thumb on a device (for example, the glass trackpad of a MacBook). By default, these touches are not delivered and are not included in the event's set of touches. Touches may transition in and out of resting at any time. Unless the view wants resting touches, began / ended events are simulated as touches transition from resting to active and vice versa.

The default value of this property is NO, which indicates that the view does not want resting touches.

See Also

Touch Event Handling

acceptsTouchEvents

A Boolean value indicating whether the view accepts touch events.

Deprecated