iOS Developer Library

Developer

UIKit Framework Reference UIScreenEdgePanGestureRecognizer Class Reference

Options
Deployment Target:

On This Page
Language:

UIScreenEdgePanGestureRecognizer

A UIScreenEdgePanGestureRecognizer looks for panning (dragging) gestures that start near an edge of the screen. The system uses screen edge gestures in some cases to initiate view controller transitions. You can use this class to replicate the same gesture behavior for your own actions. More...

Inheritance


Conforms To


Import Statement


import UIKit @import UIKit;

Availability


Available in iOS 7.0 and later.
  • edges edges Property

    The acceptable starting edges for the gesture.

    Declaration

    Swift

    var edges: UIRectEdge

    Objective-C

    @property(readwrite, nonatomic, assign) UIRectEdge edges

    Discussion

    The edges you specify are always relative to the app’s current interface orientation. This behavior ensures that the gestures always occur from the same place in your user interface, regardless of the device’s current orientation.

    Import Statement

    import UIKit

    Availability

    Available in iOS 7.0 and later.