Contents

direction

The permitted direction of the swipe for this gesture recognizer.

Declaration

var direction: UISwipeGestureRecognizer.Direction { get set }

Mentioned in

Discussion

The default direction is right. See descriptions of UISwipeGestureRecognizer.Direction constants for more information.

See Also

Related Documentation

  • Event Handling Guide for UIKit Apps

Configuring the gesture