views:

98

answers:

1

If I've got a uiscrollview which is five pages wide, what code would tell me what page I am on, when I scroll to a new page? Also, what code would scroll to a specific page?

Thanks!

A: 

Check out the PageControl example from Apple:

http://developer.apple.com/iphone/library/samplecode/PageControl/Listings/ReadMe_txt.html

iWasRobbed