numberOfTouches
The number of touches involved in the gesture represented by the gesture recognizer.
Declaration
var numberOfTouches: Int { get }Return Value
The number of UITouch objects in a private array maintained by the receiver. Each of these objects represents a touch in the current gesture.
Discussion
Using the value returned by this method in a loop, you can ask for the location of individual touches using the location(ofTouch:in:) method.