How To Use UIRotationGestureRecognizer In Swift 2, iOS 9 Application
Sample project demonstrate how to use UIRotationGestureRecognizer within Swift 2, Xcode 7, iOS 9 application. i.e. How to create rotation gesture recognizer runtime, configure with target, and perform action (e.g. rotate object/view) when user rotate two finger on the screen like performing rotation gesture.
Technology used
– UIRotationGestureRecognizer.
– How to create rotation gesture recognizer.
– Add target to rotation gesture recognizer.
– Add UIRotationGestureRecognizer within view.
– Perform action when user rotate two finger 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.