Re: iPad: Device Orientation
Re: iPad: Device Orientation
- Subject: Re: iPad: Device Orientation
- From: David Duncan <email@hidden>
- Date: Wed, 7 Apr 2010 11:22:38 -0700
How are you checking and working with orientations?
If your using the View Controller orientation notifications, then this should just work (if your doing everything correctly). If your using UIDevice orientation notifications (which it sounds like since you have to move the status bar manually) then that would explain why this isn't doing the right thing.
On Apr 7, 2010, at 10:07 AM, Development wrote:
> Ok I'm going to try to explain this...
>
> I have an application with two different view controllers. One view controller handles a compose mail UI. The built in message frame work one. That is usually allowed to reorient to any device orientation but will usually be used only in portrait.
>
> The second(an editor) is manually set to landscape left.
>
> Now, if I load the editor that has to be manually set to landscape first then the whole interface works perfectly. However if I load the mail composer first, which will reorient to any orientation it messes the editor up.
>
> Basically after loading the mail composer and dismissing it, if I go to the editor it only checks the last known interface orientation which is usually portrait (It still doesn't work if the last one was landscape). This is even though I am manually reorienting the status bar and the device is in fact being turned to landscape left. And turning the device does not cause it to recheck the orientation in the shouldautorotate method.
>
> The device only shows that it is still in portrait even though the status bar shows that it is correctly oriented.
> So basically I have no idea how to correct this since even if I manually rotate the UIView that I am displaying it does not display correctly. Am I doing something wrong or am I up against a bug? BTW this works just fine on iPhone just not on iPad
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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