Re: restricting InterfaceOrientations
Re: restricting InterfaceOrientations
- Subject: Re: restricting InterfaceOrientations
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 08 Aug 2014 12:20:45 +0700
On 8 Aug 2014, at 12:14, Roland King <email@hidden> wrote:
>
>>>
>>>
>>> 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.
You are right.
But I found these too late. Now I have set them as they should be, and all is fine.
Thanks a lot!
Kind regards,
Gerriet.
_______________________________________________
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