Sent to the gesture recognizer when one or more fingers touch down in the associated view.
- iOS 3.2+
- Mac Catalyst 13.0+Beta
- 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
If the gesture recognizer is interpreting a continuous gesture, it should set its state to
UIGesture upon receiving this message. If at any point in its handling of the touch objects the gesture recognizer determines that the multi-touch event sequence is not its gesture, it should set it state to
Multiple touches are disabled by default. In order to receive multiple touch events you must set the a
is property of the attached view instance to