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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:36:02+00:00 2026-05-27T22:36:02+00:00

I am building a dashboard for the iPad which will have 5-8 different UITableViews

  • 0

I am building a dashboard for the iPad which will have 5-8 different UITableViews displayed on the single view. I have divided my iPad main view into several UIViews like “commercialProjectView”. Then I added a new UITableViewController to my storyboard and set the class to “CommercialProjectViewController”. Then in my main controller “ViewController” I added the UITableViewController to my commercialProjectView as shown below:

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
CommercialProjectViewController *commercialProjectViewController = [[CommercialProjectViewController alloc] init];

    [self.commercialProjectView addSubview:commercialProjectViewController.view];
}

The above does not work and throws from EXCE_ exception. What am I doing wrong?

  • 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-27T22:36:02+00:00Added an answer on May 27, 2026 at 10:36 pm

    There’s probably more detail to the exception that you’re missing somewhere. The code sample & exception have nothing to do with your setup or the title of this question.

    Generally speaking, it’s not recommended to add another view controller’s view into your view hierarchy unless you’re creating a view controller container (like UITabBarController or UINavigationController).

    There’s a mechanism for creating these types of containers in iOS 5 called UIViewControllerContainment. I’d watch the video on this topic from WWDC 2011 found at http://developer.apple.com/wwdc/.

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

Sidebar

Related Questions

Trying to choose a PHP open source CMS into which I will integrate an
Building a rails B2B application that will have various users. I'm pretty clear on
I want to build an dashboard for which back end will be Pentaho community
I am building an iGoogle like dashboard for our application with silverlight 4. Each
Building the same project (without any changes) produces binary different exe-files: some small regions
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't
Building a commercial product may use various open source libraries that have use of
I'm building a BI dashboard for my client. Our data is stored in an
I'm building a network of services, and all the services are completely different from
I'm building a site using CodeIgniter and up until now things have been going

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.