开发者

How can I control UIViewAnimationTransitionCurlUp effect direction?

There are two viewControllers in my project, and one is the main controller. Another is its subview controller used for inserting into the main controller. I set the controller translate animation with UIViewAnimationTransitionCurlUp, the subView is 'autorotate' left or right, and both the 开发者_开发技巧nib filess direction is horizontal.

In my subviewController do the animation UIViewAnimationTransitionCurlUp is horizontal, but in mainviewController do the same animation the direction is vertical. How can I control the direction?


Apple doesn't provide anything other than curlup, and it is locked to portrait orientation for space reasons. If you really need it, try building it with CoreAnimation or OpenGL. Good luck!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜