• 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: "Gerriet M. Denkmann" <email@hidden>
  • Date: Fri, 08 Aug 2014 12:08:41 +0700

On 8 Aug 2014, at 11:39, Quincey Morris <email@hidden> wrote:

> On Aug 7, 2014, at 20:50 , Gerriet M. Denkmann <email@hidden> wrote:
>
>> Problem: on iPhone the DetailView does not make sense in landscape (iPad is fine with landscape).
>
> A while back I went through some self-immolation trying to sort out a similar difficulty. I don’t remember the details, but it’s not just a question of getting the  correct orientation, but getting the status bar in the right place, and that turned out to be harder than it ought to be.
>
> My suggestion: don’t try to restrict the rotation of the detail view, but display something else when it’s in landscape.

I have decided just to restrict all views (there are only two: Master + Detail) on the iPhone to portrait. Easier and makes more sense. Kind of confusing to have Master in landscape and Detail in portrait.

And I just found:

Xcode → TARGETS → MyTarget → Deployment Info → iPhone / iPad
has different allowed orientations for iPhone / iPad.

Much easier. No more messing with UINavigationController delegates (although this works as well).

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


References: 
 >restricting InterfaceOrientations (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: restricting InterfaceOrientations (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: restricting InterfaceOrientations
  • Next by Date: Re: restricting InterfaceOrientations
  • Previous by thread: Re: restricting InterfaceOrientations
  • Next by thread: NSProgressIndicator (bar) still displays when stopped
  • Index(es):
    • Date
    • Thread