Class

UIScreenEdgePanGestureRecognizer

A gesture recognizer that looks for panning (dragging) gestures that start near an edge of the screen.

Declaration

@interface UIScreenEdgePanGestureRecognizer : UIPanGestureRecognizer

Overview

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.

After creating a screen edge pan gesture recognizer, assign an appropriate value to the edges property before attaching the gesture recognizer to your view. You use this property to specify from which edges the gesture may start. This gesture recognizer ignores any touches beyond the first touch.

Topics

Specifying the Starting Edges

edges

The acceptable starting edges for the gesture.

Related Types

UIRectEdge

Constants that specify the edges of a rectangle.

Relationships

See Also

Standard Gestures

Handling UIKit Gestures

Use gesture recognizers to simplify touch handling and create a consistent user experience.

Coordinating Multiple Gesture Recognizers

Discover how to use multiple gesture recognizers on the same view.

UIHoverGestureRecognizer

A gesture recognizer that looks for pointer movement over a view.

UILongPressGestureRecognizer

A concrete subclass of UIGestureRecognizer that looks for long-press gestures.

UIPanGestureRecognizer

A concrete subclass of UIGestureRecognizer that looks for panning (dragging) gestures.

UIPinchGestureRecognizer

A concrete subclass of UIGestureRecognizer that looks for pinching gestures involving two touches.

UIRotationGestureRecognizer

A concrete subclass of UIGestureRecognizer that looks for rotation gestures involving two touches.

UISwipeGestureRecognizer

A concrete subclass of UIGestureRecognizer that looks for swiping gestures in one or more directions.

UITapGestureRecognizer

A concrete subclass of UIGestureRecognizer that looks for single or multiple taps.