views:

2604

answers:

4

Hey friends,

According to Apple's documentation on the UISplitViewController (in the new iPad 3.2 SDK) it looks like they intend for you to use it only as a root controller of an app. In other words...it seams like you cannot push a UISplitViewController onto a UINavigationController because obviously the UINavigationController would need to hold the split view.

Can anyone confirm if this is a true limitation of the UISplitViewController? I was hoping to use the split view in my app a few levels deep in my UINavigationController hierarchy but it looks like I won't be able to do that unless there is a way.

Thank you!

+4  A: 

My app crashes whenever I try to present a UISplitViewController modally.

You get an uncaught exception: "Application tried to present a Split View Controllers modally" [sic]
Kristopher Johnson
+1  A: 

come to the same problem ,doesn't anybody give some help,giving some demo code.

jiansihun
finally, i find this:http://stackoverflow.com/questions/2579861/split-view-controller-must-be-root-view-controller. as the link above say ,it seem to be should ,not must .any way ,Macatomy's suggestion would give some helpful thought.
jiansihun
+1  A: 

Apple HIG says you can't. Means they've probably blocked you from doing it, so I doubt you'll get it working. some devs have written their own

jkmassel
+1  A: 

Not at all. It is possible to have a tab bar controller at the root of the hierarchy, where each tab has a split view controller, for example.

See my post about retrofitting split view controllers to a tab bar interface: http://markivsblog.blogspot.com/2010/04/retrofitting-ipad-uisplitviewcontroller.html

You can technically do this, but it will experience bugs - primarily when the user changes app orientation on other tabs and comes back to the splitview tab.
Jason