Re: iPhone: Landscape support for tab bar?
Re: iPhone: Landscape support for tab bar?
- Subject: Re: iPhone: Landscape support for tab bar?
- From: WT <email@hidden>
- Date: Mon, 22 Jun 2009 01:58:15 +0200
On Jun 21, 2009, at 9:51 PM, Rick Genter wrote:
I'm just starting to design/develop my first iPhone app and have
been reviewing the iPhone human interface guidelines. Is it true
that tab bars do not support landscape mode?
I would imagine that the documentation would give you the answer to
that. Then, again, it might not. :)
So I created a little test project based on the default tab-bar
project that you get from XCode. I created a custom subclass of
UITabBarController that overrides -
shouldAutorotateToInterfaceOrientation: so that it always return YES.
I then opened MainWindow.xib and set the class of the tab-bar
controller to my CustomTabBarController class.
Build and run, then rotate the device left or right (you can do that
in the simulator too). The result? It works. So, the answer is that
tab-bars DO support landscape mode, at least in 3.0.
Wagner
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden