2

I've been playing around with the iPad SDK looking for ways to improve my current iPhone app. I've got a couple place where I think the new "SplitView" would look pretty good. My question is if it's possible to navigate to a "SplitView" with my current navigation based application? Mainly I'm not sure how to push that SplitViewController onto my current stack of views. Any thoughts?

Staros
  • 3,232
  • 6
  • 30
  • 41

4 Answers4

7

It should always be the root controller according to Apple.

The split view controller’s view should always be installed as the root view of your application window. You should never present a split view inside of a navigation or tab bar interface.

Felixyz
  • 19,053
  • 14
  • 65
  • 60
DevDevDev
  • 5,107
  • 7
  • 55
  • 87
0

You can use a UISplitViewController in a UITabBarController without any problems. I have not attempted to push a UISplitViewController into an UINavigationController however.

Brody Robertson
  • 8,506
  • 2
  • 47
  • 42
0

(At least) with iOS 8 (which runs on any ipad except the first one) it's possible to use a "present modally"-segue to display a splitviewcontroller.

Drawback is that an existing navigation bar isn't displayed.

Jan Bühler
  • 421
  • 3
  • 18
0

Check out the Multiple Detail Views sample app on Apple's Documentation, this could give you a good idea on how to deal with navigation structure and how to display views on the "splitViewController".

Community
  • 1
  • 1
Mikeware
  • 867
  • 2
  • 8
  • 12