Re: iOS - Hide Master view in a split view
Re: iOS - Hide Master view in a split view
- Subject: Re: iOS - Hide Master view in a split view
- From: Matt Neuburg <email@hidden>
- Date: Fri, 25 Mar 2011 09:00:36 -0700
On Thu, 24 Mar 2011 17:27:51 -0400, Eric Gorr <email@hidden> said:
>I am trying to figure out how to hide the master view in a split view while in landscape mode.
If you're talking about a UISplitView, then what you're trying to do would not be a UISplitView. So you have two choices:
(1) Don't use a UISplitView at all; do it all yourself.
(2) If you do use a UISplitView, then in the cases where you want to hide the master view in landscape, you'll need to use something that isn't a UISplitView. For example, cover the interface with a modal view that looks the way you want it. (It's amazing how people underestimate the modal view. Despite its name, it is not just for temporary or "modal dialog" types of thing. It's a way of introducing a completely new interface. Your whole app can be a complex of stuff built on top of a modal view. And they stack!!!!!) Of course, you could just rip out the UISplitView entirely and replace it with a different root view, but that seems unnecessary.
m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________
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