I'm developing a new app and i need to implement a functionality used very often in many apps. I want to implement the functions "next page" / "previous page" with a sliding gesture respectively from left to right for the "next page" case and from right to left in the other. I've seen something about GestureRecognizer that maybe can help me, but unfortunately i'm developing under 3.1.2 firmware version and it's not supported yet. Any suggestion or link with any tutorial ?
Thank you
Take a look at my code :
You can change the direction of the swipe etc ;-)
Edit : oh I didn't see the end of your question :p So you should implement an UIView and detect the touchesBegan and touchesEnd, save CGPoint began and end and decide if it's a swipe or nop ;)
To answer your question with some code, this is my version of a great example, given in this thread.