How To Use UIPinchGestureRecognizer In Swift 2, iOS 9 Application
Sample project demonstrate how to use UIPinchGestureRecognizer within Swift 2, Xcode 7, iOS 9 application. i.e. How to create pinch gesture recognizer runtime, configure with target, and perform action (e.g. change scale, resize view) when user pinch on the screen.
Technology used
– UIPinchGestureRecognizer.
– How to create pinch gesture recognizer.
– Add target to pinch gesture recognizer.
– Add UIPinchGestureRecognizer within view.
– Perform action when user pinch on the screen.
– 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.