• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhone: Landscape support for tab bar?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >iPhone: Landscape support for tab bar? (From: Rick Genter <email@hidden>)

  • Prev by Date: Re: Possible to set tab stops in an NSTextView?
  • Next by Date: Re: Missing functionality in copy/paste of NSAttributedStrings? or of NSData?
  • Previous by thread: iPhone: Landscape support for tab bar?
  • Next by thread: Missing functionality in copy/paste of NSAttributedStrings? or of NSData?
  • Index(es):
    • Date
    • Thread