tabbar controller in landscape mode
I am working on a project in which I need to have the application in landscape mode. I made the cha开发者_运维知识库nges in .plist file by setting interface orientation to landscape. I changed the orientation to landscape in the .xib files also but still when the application starts the in the simulator the tabbar controller appears in portrait mode only. Can any one please help with this.
Thanks
Note that by design, the UITabBarController
will only rotate to support an interface orientation that all of its view controllers support. It will send the -shouldAutorotateToInterfaceOrientation:
message to each of its view controllers and, if they all return YES
, will return YES
.
精彩评论