Hi all,
I have some views in my Iphone Application. But I need set only one of the view (for example: ThirdViewController) can autorotate to interface orientation. So, I set shouldAutorotateToInterfaceOrientation to YES in the ThirdViewController, but it seems not work ... So, I try set shouldAutorotateToInterfaceOrientation to YES in root view. It seems can work but is all views in my application become can autorotate to interface orientation. But what I need is just one view (ThirdViewController) can be autorotate. This ThirdViewController is a UINavigationController and I display it through presentModalViewController when press a button.
Anyone have any ideas to do this? Am I doing something wrong? Any comments and ideas are welcome.
Thanks a lot.
I have some views in my Iphone Application. But I need set only one of the view (for example: ThirdViewController) can autorotate to interface orientation. So, I set shouldAutorotateToInterfaceOrientation to YES in the ThirdViewController, but it seems not work ... So, I try set shouldAutorotateToInterfaceOrientation to YES in root view. It seems can work but is all views in my application become can autorotate to interface orientation. But what I need is just one view (ThirdViewController) can be autorotate. This ThirdViewController is a UINavigationController and I display it through presentModalViewController when press a button.
Anyone have any ideas to do this? Am I doing something wrong? Any comments and ideas are welcome.
Thanks a lot.