On 8 Aug 2014, at 11:39, Quincey Morris <[email protected]> 
wrote:

> On Aug 7, 2014, at 20:50 , Gerriet M. Denkmann <[email protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to