Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tabbar controller in landscape mode

Tags:

iphone

I am working on a project in which I need to have the application in landscape mode. I made the changes 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

like image 707
pa12 Avatar asked Jul 23 '26 17:07

pa12


1 Answers

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.

like image 151
Jeff Kelley Avatar answered Jul 25 '26 07:07

Jeff Kelley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!