Maxime
Maxime

Reputation: 3165

View animation on iPhone

I have a NSArray that contain views ,the first view of this array is loaded at start. When the user swipe is finger to the left position I need to change the current view with the next view of the NSArray. The previous view (the starting view) need to go at the left direction and the next view need to come from the right side. How I can do that.

Thanks

Upvotes: 0

Views: 442

Answers (2)

Andiih
Andiih

Reputation: 12423

Take a look at mahboudz answer here iPhone UIView Animation Best Practice

Upvotes: 0

Satish
Satish

Reputation: 6485

This is provided as an example in Apple docs. http://developer.apple.com/library/ios/#samplecode/PageControl/Introduction/Intro.html

Upvotes: 2

Related Questions