title: How to switch between views using Pan Gesture Recognizer in iOS?
body: <p>I have two views and i want to use Pan Gesture in Right direction (like the gesture used in Facebook ios app) to switch to second view. The view should start to change as soon as we start to use Pan gesture.How can i perform this? Does anyone have a sample code which performs this action?</p>