UIScreenEdgePanGestureRecognizer
extension UIScreenEdgePanGestureRecognizer
-
A convenience initializer for a UIScreenEdgePanGestureRecognizer so that it can be configured with a single line of code.
Declaration
Swift
public convenience init(edges: UIRectEdge = .all, handler: @escaping (_ gesture: UIScreenEdgePanGestureRecognizer) -> Void)Parameters
edgesDefaults UIScreenEdgePanGestureRecognizer’s
edgesproperty valuehandlerThe closure that is called when the gesture is recognized
View on GitHub
UIScreenEdgePanGestureRecognizer Extension Reference