views:

23

answers:

2

We've got an application planned that is a very basic 7 page presetation. Our client wants to be able to sweep the views from right to left as a form of navigation, similar to the page control on the home screen.

I understand the presentModalViewController and pushViewController, but how do I detect a directional finger sweep?

+3  A: 

You can use UIScrollView horizontal paging. An Apple's sample code here

vodkhang
Just to add to this - take a look at the WWDC 104 video in iTunes U too, very good.
dannywartnaby
I can't find the video you have recommended danny, I've done a search but all I can find is podcasts, nothing on iTunes U
Daniel Hanly
to find the videos, go to developer.apple.com, login. there u find them and u will be redirected to iTunes U.
vikingosegundo
you may try this link http://developer.apple.com/videos/wwdc/2010/
vodkhang
A: 

See UIScrollView, and its pagingEnabled property. UIKit does almost all of the work for you.

Sixten Otto