Instance Property

numberOfTouchesRequired

The number of touches that must be present for the swipe gesture to be recognized.

Declaration

var numberOfTouchesRequired: Int { get set }

Discussion

The default value is 1.

See Also

Configuring the Gesture

var direction: UISwipeGestureRecognizer.Direction

The permitted direction of the swipe for this gesture recognizer.