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!
精彩评论