开发者

View animation on iPhone

开发者 https://www.devze.com 2023-03-07 20:03 出处:网络
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 NSA

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

0

精彩评论

暂无评论...
验证码 换一张
取 消