Re: restricting InterfaceOrientations
Re: restricting InterfaceOrientations
- Subject: Re: restricting InterfaceOrientations
- From: Quincey Morris <email@hidden>
- Date: Thu, 07 Aug 2014 21:39:39 -0700
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. For an example, look at the Now Playing view in the built-in Music app. (It actually seems to have some controls in landscape now, but IIRC it used to just display the cover art in iOS 6 and before.)
_______________________________________________
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