Sent to the gesture recognizer when a system event (such as an incoming phone call) cancels a touch event.
- iOS 3.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
UIEventobject representing the event to which the touches belong.
This method has the same exact signature as the corresponding one declared by
UIResponder. Through this method a gesture recognizer receives touch objects (in their
UITouch phase) before the view attached to the gesture recognizer receives them.
UIGesture objects are not in the responder chain, yet observe touches hit-tested to their view and their view's subviews. After observation, the delivery of touch objects to the attached view, or their disposition otherwise, is affected by the
Upon receiving this message, the gesture recognizer for a continuous gesture should set its state to
UIGesture; a gesture recognizer for a discrete gesture should set its state to