• 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: My App refuses to rotate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My App refuses to rotate


  • Subject: Re: My App refuses to rotate
  • From: David Duncan <email@hidden>
  • Date: Tue, 28 May 2013 00:03:59 -0700

Did you set the window's rootViewController to your view controller?

On May 28, 2013, at 12:01 AM, Gerriet M. Denkmann <email@hidden> wrote:

> I have an iOS 6.1 app.
>
> Info.plist contains:
> 	<key>UIInterfaceOrientation</key>
> 	<string>UIInterfaceOrientationPortrait</string>
>
> 	<key>UISupportedInterfaceOrientations</key>
> 	<array>
> 		<string>UIInterfaceOrientationLandscapeRight</string>
> 		<string>UIInterfaceOrientationLandscapeLeft</string>
> 		<string>UIInterfaceOrientationPortrait</string>
> 		<string>UIInterfaceOrientationPortraitUpsideDown</string>
> 	</array>
>
> 	<key>UISupportedInterfaceOrientations~ipad</key>
> 	<array>
> 		<string>UIInterfaceOrientationPortrait</string>
> 	</array>
>
> All ViewControllers have:
>
> - (NSUInteger)supportedInterfaceOrientations
> {
> 	return UIInterfaceOrientationMaskAll;
> }
>
> But in the iPhone simulator and in the iPhone device the rootViewController always has interfaceOrientation = 1 (Portrait).
> All other ViewControllers also show interfaceOrientation = 1 (Portrait).
>
>
> Why does the App not rotate?
>
> What am I missing?
>
> 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

--
David Duncan


_______________________________________________

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: My App refuses to rotate
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >My App refuses to rotate (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: NSMapTable with C strings as keys
  • Next by Date: Re: My App refuses to rotate
  • Previous by thread: My App refuses to rotate
  • Next by thread: Re: My App refuses to rotate
  • Index(es):
    • Date
    • Thread