views:

27

answers:

1

Hi,all,first thanks for reading the question with my poor english,there are two viewController in my project,and one is main controller another is it's subview controller use for insert into the main controller,i set the controller translate animation with UIViewAnimationTransitionCurlUp,the subView is 'autorotate' left or right, and both the nib file's direction is horizontal, my question is: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?

A: 

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!

Kolin Krewinkel
thanks for your answer,but i think the direction is control by something like nib's direction.
baowuwolf
This is what happens when you force the modal view to rotate: http://cl.ly/bb8ede6773ba59229136 And in a full screen transition: http://cl.ly/c1bf556b06cf55d99051
Kolin Krewinkel