I am using xcode 4.2. Here is my herarchy
Navigation COntroller (No toolbars) -> ViewController1 -> ViewController2 -> ViewController3 ->ViewController4
I have added swipe gestures in 1-3 Controllers and have used push using Left Swipe.
Now This is one direction only. How can i do it bi-directional. I want to go to ViewController1 from ViewController4. I have tried adding another SwipeGesture assigning right but it don’t work. Any ideas?
Setting the direction property of UISwipeGestureRecognizer and using the bit wise operator with different directions should work.
There are existing questions on this. It’s well explained there.
How to recognize swipe in all 4 directions?
Setting direction for UISwipeGestureRecognizer