Instance Property

minimumNumberOfTouches

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

Declaration

var minimumNumberOfTouches: Int { get set }

Discussion

The default value is 1.

See Also

Configuring the Gesture Recognizer

var maximumNumberOfTouches: Int

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software