AWFEdgeSwipeGestureRecognizer
Objective-C
@interface AWFEdgeSwipeGestureRecognizer : UIPanGestureRecognizer
Swift
class AWFEdgeSwipeGestureRecognizer : UIPanGestureRecognizer
A AWFEdgeSwipeGestureRecognizer
looks for panning (dragging) gestures that start near an edge of a particular view instead of the screen.
-
From which edge to detect the swipe.
Declaration
Objective-C
@property (nonatomic) AWFEdgeSwipeGestureRecognizerSide side;
Swift
var side: AWFEdgeSwipeGestureRecognizerSide { get set }
-
Minimum distance that must be traveled before recognizing the direction.
Declaration
Objective-C
@property (nonatomic) CGFloat minimumDistance;
Swift
var minimumDistance: CGFloat { get set }
-
Margin from the side used to detect the gesture.
Declaration
Objective-C
@property (nonatomic) CGFloat margin;
Swift
var margin: CGFloat { get set }