Instance Property

acceptsTouchEvents

A Boolean value indicating whether the view accepts touch events.

Declaration

@property BOOL acceptsTouchEvents;

Discussion

A view accepts touch events when the value of this property is YES. By default, views do not accept touch events, so the default value of this property is NO. You can override this property and return a different value if you want your view to handle touch events.

See Also

Touch Event Handling

wantsRestingTouches

A Boolean value indicating whether the view wants resting touches.