Returns the location of one of the gesture’s touches in the local coordinate system of a given view.
- iOS 3.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
The index of a
UITouch object in a private array maintained by the receiver. This touch object represents a touch of the current gesture.
UIView object on which the gesture took place. Specify
nil to indicate the window.
A point in the local coordinate system of
view that identifies the location of the touch. If
nil is specified for
view, the method returns the touch location in the window’s base coordinate system.
Getting the Touches and Location of a Gesture
Returns the point computed as the location in a given view of the gesture represented by the receiver.
Returns the number of touches involved in the gesture represented by the receiver.