Re: UISplitViewController some of the time
Re: UISplitViewController some of the time
- Subject: Re: UISplitViewController some of the time
- From: Matt Neuburg <email@hidden>
- Date: Thu, 03 Nov 2011 09:57:11 -0700
On Thu, 03 Nov 2011 11:00:27 -0400, "Eric E. Dolecki" <email@hidden> said:
>I am developing an application for the iPad which uses a
>UISplitViewController (via template). Now I'd like to add a "Home"
>UIViewController to the storyboard and have that be the initial view
>controller. However Apple states if using the SplitViewController it should
>always be the root. Okay... so how can I add a UIViewController ON TOP of
>the navigation controller the splitview is using to quasi-make a home
>screen?
You could just lay a modal view on top of the whole thing. This is what modal views are for. They are really misnamed. They are not about modality; they are just another way of completely replacing a view hierarchy. This is one reason why you're not supposed to call presentModal... any more.
Furthermore, in iOS 5 you can design your own container view controller. So go nuts. Roll your own variant on a split view controller, and now none of Apple's rules apply to you. 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