• 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 puzzle about rotation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone puzzle about rotation


  • Subject: Re: iPhone puzzle about rotation
  • From: WT <email@hidden>
  • Date: Tue, 1 Feb 2011 01:48:54 -0200

On Jan 31, 2011, at 11:16 PM, David Rowland wrote:

> Is there something that defeats the delivery of rotate events to a view controller?

This may or may not be the case with your app, but a UITabBarController vetoes device orientation change events to its managed view controllers unless every one of them supports the orientation change in question. However, it still calls the view controllers' -shouldAutorotateToInterfaceOrientation: method (as it must, in order to find out if they all support the orientation change being requested). It may not invoke them every time, though. Rather, it may invoke them once per view controller and cache the result. I don't know which is the case, but it's easy to check._______________________________________________

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 puzzle about rotation (From: David Rowland <email@hidden>)

  • Prev by Date: Bizarre behaviour of NSFontDescriptor and/or NSCharacterSet
  • Next by Date: Re: text orientation/positioning with layout manager
  • Previous by thread: iPhone puzzle about rotation
  • Next by thread: Bizarre behaviour of NSFontDescriptor and/or NSCharacterSet
  • Index(es):
    • Date
    • Thread