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 6878041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:40:28+00:00 2026-05-27T04:40:28+00:00

I was recently displaying a list of items to a user via a tableview

  • 0

I was recently displaying a list of items to a user via a tableview in a popover when a button was tapped. The table was displayed sections and headers.

I’m experimenting now with different ways to display the information and I want to try display the data in a UISplitViewController. The left view is a tableviewcontroller with headings. The right view is also a tableviewcontroller with sub headings.

I still want the data to be provided in a popover manner but when I’ve tried this the popover appears with nothing in it. I’ve put breakpoints in the viewDidLoad methods of my left and right view for the SplitView. The breaks are being hit but nothing is displaying in my popover.

How can I display a UISplitView IN a PopoverController.

My Root View

- (IBAction)showPopover:(id)sender {

 self.SVC = [[SplitViewContainerViewController alloc] init];

 self.pickerPopover = [[[UIPopoverController alloc] initWithContentViewController:SVC] autorelease];


CGRect frame= CGRectMake(0,0, 0, 0);
[self.pickerPopover presentPopoverFromRect:frame inView:self.view permittedArrowDirections:0 animated:NO];

LoadView Of SplitViewContainerViewController

- (void)loadView
{
    UIView *view=[[[UIView alloc]initWithFrame:CGRectMake(0, 0, 750, 880)]retain];
    self.view=view;
    self.splitViewController = [[UISplitViewController alloc] init];
    self.leftViewController=[[[LeftViewController alloc] initWithStyle:UITableViewStylePlain] autorelease];
    self.rightViewController=[[[RightViewController alloc] initWithStyle:UITableViewStylePlain] autorelease];

     self.splitViewController.viewControllers= [NSArray arrayWithObjects:self.leftViewController, self.rightViewController, nil];
    [self.view addSubview:self.splitViewController.view];
    self.contentSizeForViewInPopover = CGSizeMake(750,880);

    [super loadView];

}
  • 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-05-27T04:40:29+00:00Added an answer on May 27, 2026 at 4:40 am

    UISplitViewControllers do not work unless they are the root view controller of the window. In order to do something like this you are going to need to create a custom split view controller and use that instead of UISplitViewController.

    From Apple’s documentation:

    A split view controller must always be the root of any interface you create. In other words, you must always install the view from a UISplitViewController object as the root view of your application’s window. The panes of your split-view interface may then contain navigation controllers, tab bar controllers, or any other type of view controller you need to implement your interface.

    You may want to start by looking at MGSplitViewController, however, be aware that there are some limitations in iOS 4 and below including the inability to correctly forward rotation and view appearance and disappearance events to the child view controllers.

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

Sidebar

Related Questions

I recently changed some of my pages to be displayed via ajax and I
I recently developed a simple application for displaying a list of files to some
I've had a few problems recently displaying a java applet. Finally, something has displayed.
I recently noticed that colors are now displaying darker on iPhone than their actual
I've recently been having some issues with some tooltips on a webpage not displaying
Recently I was working on displaying workflow diagram images in our web application. I
Just recently, my Eclipse installation has stopped reliably displaying Javadoc information for any of
I recently played around with the ASP.NET WebAPI, including some Html-Pages displaying results, trying
I have a table that has worked correctly for many years, but recently the
I have some nodes I am displaying in a view. They are displayed as

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.