iPad: Device Orientation
iPad: Device Orientation
- Subject: iPad: Device Orientation
- From: Development <email@hidden>
- Date: Wed, 7 Apr 2010 10:07:51 -0700
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_______________________________________________
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