Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8476677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:14:46+00:00 2026-06-10T18:14:46+00:00

To set the scene I have: A Tab View Controller with 2 tabs Each

  • 0

To set the scene I have:

  • A Tab View Controller with 2 tabs
  • Each tab has a Split View Controller
  • I’d like to point the Detail view of each Split View Controller to
    the SAME view.

I’ve attached a very simple sample project showing the issue.

Run it in the iPad 5.1 Sim, observe each tab. One shows the shared detail view, one fails.

NSLog debugging reports that the second split view has a NULL detail view controller:

2012-04-28 07:21:55.451 svcTest[14597:f803] tabBarController viewControllers = (
    "UISplitViewController: 0x6a36100",
    "UISplitViewController: 0x6a39ab0"
)
2012-04-28 07:21:55.455 svcTest[14597:f803] svcA.viewControllers = (
    "UINavigationController: 0x6a36250",
    "UIViewController: 0x6a38720"
)
2012-04-28 07:21:55.457 svcTest[14597:f803] svcB.viewControllers = (
    "UINavigationController: 0x6a39cc0"
)

When you click the second tab you get this error:

2012-04-28 07:22:58.457 svcTest[14597:f803] Splitview controller  is expected to have a detail children before its used!
2012-04-28 07:22:58.459 svcTest[14597:f803] Split view controller  should have its children set before layout!

Looking at the storyboard I have already set the detail views so this really confuses me.

Storyboard

Any help getting this ‘shared’ view to show up on each tab is much appreciated.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T18:14:47+00:00Added an answer on June 10, 2026 at 6:14 pm

    I received the same warning when specifying more than two viewControllers for the splitViewController as shown below:

    self.splitViewController.viewControllers = @[masterNavigationController, detailNavigationController, subViewController];
    

    When i removed ‘subViewController’ from the array the warning disappeared.

    After reading apple’s documentation on adding / removing subviews it mentions the following:

    The array in this property must contain exactly two view controllers. The view controllers are presented left-to-right in the split view interface when it is in a landscape orientation. Thus, the view controller at index 0 is displayed on the left side and the view controller at index 1 is displayed on the right side of the interface.

    You can check out the link to UISplitViewController Class Reference for more information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ImageView on my scene that I would like to set the
I have a view controller on my storyboard set up with a tableview. I
I set up my scene (Android app, OpenGL ES) like this: GLU.gluPerspective(gl, 60, viewRatio,
This is maybe unusual so let me set the scene: We have an SVN
I have a 2D scene, 2 textures set as render targets, and a vertex
I'll set the scene first... We use Subversion and currently have a reasonably large
Let me set the scene.. You can open files in a specific mode like
This is my quandary. Let me just set the scene: I have a grid
I have an application where Im using min3d to set up the scene and
I have tabs in JavaFX and I want to set a style to remove

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.