Instance Property

maximumNumberOfTouches

The maximum number of fingers that can be touching the view for this gesture to be recognized.

Declaration

var maximumNumberOfTouches: Int { get set }

Discussion

The default value is NSUIntegerMax.

See Also

Configuring the Gesture Recognizer

var minimumNumberOfTouches: Int

The minimum number of fingers that can be touching the view for this gesture to be recognized.