Instance Property

direction

The permitted direction of the swipe for this gesture recognizer.

Declaration

@property(nonatomic) UISwipeGestureRecognizerDirection direction;

Discussion

The default direction is UISwipeGestureRecognizerDirectionRight. See descriptions of UISwipeGestureRecognizerDirection constants for more information.

See Also

Configuring the Gesture

numberOfTouchesRequired

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