Re: restricting InterfaceOrientations
Re: restricting InterfaceOrientations
- Subject: Re: restricting InterfaceOrientations
- From: Roland King <email@hidden>
- Date: Fri, 08 Aug 2014 13:14:19 +0800
>>
>>
>> Why not just put them in the Deployment Info in the General tab so they go in the plist file like you’ve been meant to since .. not sure .. iOS6 perhaps.
>
> My Info.plist contains:
>
> Supported interface orientations =
> <array>
> <string>UIInterfaceOrientationPortrait</string>
> <string>UIInterfaceOrientationLandscapeLeft</string>
> <string>UIInterfaceOrientationLandscapeRight</string>
> <string>UIInterfaceOrientationPortraitUpsideDown</string>
> </array>
>
> as it should, because on iPad all orientations are allowed.
>
>
Supported interface orientations can be specified by device. As I said it’s in the Deployment Info section on the General tab. There’s an editor to edit them and it will produce whatever plist file it deems appropriate to support the orientations you asked for on the device you asked for them on.
No code, no effort, no hacks, just tick the boxes, as long as you want what you seem to want which is a global restriction on interface orientation.
_______________________________________________
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