Instance Property

delaysTouchesEnded

A Boolean value determining whether the receiver delays sending touches in a end phase to its view.

Declaration

@property(nonatomic) BOOL delaysTouchesEnded;

Discussion

When the value of this property is YES (the default) and the receiver is analyzing touch events, the window suspends delivery of touch objects in the UITouchPhaseEnded phase to the attached view. If the gesture recognizer subsequently recognizes its gesture, these touch objects are cancelled (via a touchesCancelled:withEvent: message). If the gesture recognizer does not recognize its gesture, the window delivers these objects in an invocation of the view’s touchesEnded:withEvent: method. Set this property to NO to have touch objects in the UITouchPhaseEnded delivered to the view while the gesture recognizer is analyzing the same touches.

See Also

Canceling and Delaying Touches

cancelsTouchesInView

A Boolean value affecting whether touches are delivered to a view when a gesture is recognized.

delaysTouchesBegan

A Boolean value determining whether the receiver delays sending touches in a begin phase to its view.