Home  »  UI Demo - iOS9  »  How To Use UISwipeGestureRecognizer In Swift 2, iOS 9 Application

How To Use UISwipeGestureRecognizer In Swift 2, iOS 9 Application

Posted on 24 Oct 2015

UI Demo -  UISwipeGestureRecognizer (Swift 2, iOS 9)

Sample project demonstrate how to use UISwipeGestureRecognizer within Swift 2, Xcode 7, iOS 9 application. i.e. How to create swipe gesture recognizer runtime, set swipe direction (i.e. Left/Right/Up/Down), configure target, and perform action (e.g. move object) when user swipe finger on the screen.

Technology used
– UISwipeGestureRecognizer.
– Create swipe gesture recognizer.
– Set swipe direction (i.e. Left/Right/Up/Down).
– set swipe gesture recognizer target.
– Add UISwipeGestureRecognizer to view.
– Perform action when swipe detected.
– 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.

Go to Top