• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: restricting InterfaceOrientations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: restricting InterfaceOrientations
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >restricting InterfaceOrientations (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: restricting InterfaceOrientations (From: Roland King <email@hidden>)
 >Re: restricting InterfaceOrientations (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: restricting InterfaceOrientations
  • Next by Date: Re: restricting InterfaceOrientations
  • Previous by thread: Re: restricting InterfaceOrientations
  • Next by thread: Re: restricting InterfaceOrientations
  • Index(es):
    • Date
    • Thread