How To Use UITapGestureRecognizer In Swift 2, iOS 9 Application
Posted on 21 Oct 2015
Sample project demonstrate how to use UIGestureRecognizer within Swift 2, Xcode 7, iOS 9 application. i.e. How to create tap gesture recognizer runtime, configure it with target, and increase counter value when user tap on the screen.
Technology used
– UITapGestureRecognizer
– How to create tap gesture recognizer.
– Add target to tap gesture recognizer.
– Add TapGestureRecognizer within view.
– Perform action when user tap 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.