Re: iOS: Manually setting orientation makes a mess out of my interface
Re: iOS: Manually setting orientation makes a mess out of my interface
- Subject: Re: iOS: Manually setting orientation makes a mess out of my interface
- From: brodhage <email@hidden>
- Date: Tue, 07 Jun 2011 10:42:45 +0200
It might be the wrong way to set the orientation manually?
Try to use "shouldAutorotateToInterfaceOrientation" and return "NO"
for "interfaceOrientation" not being
"UIInterfaceOrientationLandscapeLeft" or
"UIInterfaceOrientationLandscapeRight".
This way you have less code and it does not depend on any display size.
It is working in my apps.
_______________________________________________
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