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
This is provided as an example in Apple docs. http://developer.apple.com/library/ios/#samplecode/PageControl/Introduction/Intro.html
Take a look at mahboudz answer here iPhone UIView Animation Best Practice
精彩评论