How To Use UIScreenEdgePanGestureRecognizer In Swift 2, iOS 9 Application
Posted on 26 Oct 2015
Sample project demonstrate how to detect Screen Edge Left/Right Swipe using UIScreenEdgePanGestureRecognizer within iOS 9 application (Swift 2, Xcode 7). i.e. How to create screen edge pan gesture runtime, set target, and perform action when user swipe left or right side of screen edge.
Technology used
– UIScreenEdgePanGestureRecognizer
– Create screen edge pan gesture runtime.
– Add target for handle Left or Right Edge swipe.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.
Platform
– Swift 2
– Xcode 7
– iOS 9
Supported Device
iPhone 4s, 5, 5s, 5c, 6, 6 Plus, 6s, 6s Plus, all iPad having iOS 9.
You can download source form GitHub profile.