Re: iPhone puzzle about rotation
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