This example adds a Swipe Gesture Recognizer to a UIViewController subclass that navigates to a second UIViewController subclass upon a left swipe. I've seen examples of doing this on the Web using Objective-C code. Here is an example that does this using only the Storyboard.
Set UpThis example is from the app "WaySimpleCapitals" which is a US state quiz found on the App Store. The app has a start screen (Start VC Scene) that is going to navigate to a "hot list" screen which is under construction. The screenshots are from XCode 6.
Add Swipe Gesture RecognizerUsing the toolbox in the lower-right, lookup Swipe Gesture Recognizer and drag onto the source VC.
|Add Swipe Gesture Recognizer|
Configure Gesture RecognizerBy default, the Swipe Gesture Recognizer is set to right. That means a left-to-right drag will activate the recognizer. In my app's case, I want the opposite action to activate the recognizer. So, pull up the properties by selecting the Swipe Gesture Recognizer and select "Left".
|Change Right Swipe Default to Left|
Link the SegueFinally, you want to navigate to the target VC. Rather than adding code to make the transition, you can simply drag from the Swipe Gesture Recognizer onto a VC and select "push" to perform the transition without code.
|Add a Segue to the Swipe Gesture Recognizer|