• 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 Phone does not work upside down
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My Phone does not work upside down


  • Subject: Re: My Phone does not work upside down
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 14 Apr 2015 10:40:57 -0400

So, just to be clear, when you click on your Target iOS app and select General in the main window and scroll down to Deployment Info, all the little check boxes next to Device Orientation are checked?  Including the one that says Upside Down?



On Apr 14, 2015, at 10:35 AM, Gerriet M. Denkmann wrote:

>
>> On 14 Apr 2015, at 21:21, Jens Alfke <email@hidden> wrote:
>>
>>
>>> On Apr 14, 2015, at 4:57 AM, Roland King <email@hidden> wrote:
>>>
>>> Read the manual.
>
> Excellent advice. I have been following this since hours.
>
> As to supportedInterfaceOrientations:
> All my subclasses of UIViewController have this implemented - none gets ever called.
>
> - (NSUInteger)supportedInterfaceOrientations
> {
> 	UIInterfaceOrientationMask mask = UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone ?
> 								UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown :
> 								UIInterfaceOrientationMaskAll;
> 	NSLog(@“%s %#lx”,__FUNCTION__,mask); ← never seen this
> 	return mask;
> }
>
>>
>
>> +1.
>>
>> In addition to what Roland said, it’s also staring you right in the face in the General tab of the target settings as a set of friendly checkboxes.
>
> When I click on Target → General I see under “Deployment Info - Device Orientation” 4 checkboxes, which look friendly enough. Only the first two (Portrait and Upside Down) are selected.
>
> But iPad works in all 4 orientations. Seams that the Info.plist overrides the friendly checkboxes.
> And iPhone works only in Portrait - NOT upside down.
>
> 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

_______________________________________________

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 Phone does not work upside down
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >My Phone does not work upside down (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: My Phone does not work upside down (From: Roland King <email@hidden>)
 >Re: My Phone does not work upside down (From: Jens Alfke <email@hidden>)
 >Re: My Phone does not work upside down (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: My Phone does not work upside down
  • Next by Date: Re: My Phone does not work upside down
  • Previous by thread: Re: My Phone does not work upside down
  • Next by thread: Re: My Phone does not work upside down
  • Index(es):
    • Date
    • Thread