Instance Property

numberOfTouchesRequired

The number of fingers that must touch the view for gesture recognition.

Declaration

var numberOfTouchesRequired: Int { get set }

Discussion

The default number of fingers is 1.

See Also

Configuring the Gesture Recognizer

var minimumPressDuration: TimeInterval

The minimum time that the user must press on the view for the gesture to be recognized.

var numberOfTapsRequired: Int

The number of taps on the view necessary for gesture recognition.

var allowableMovement: CGFloat

The maximum movement of the fingers on the view before the gesture fails.