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

  • Home
  • SEARCH
  • 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 7567607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:42:24+00:00 2026-05-30T14:42:24+00:00

I am developing an app which will be used on both iPhone and iPad.

  • 0

I am developing an app which will be used on both iPhone and iPad.

Today I’ve found that I should use Popover for iPad instead of PickerView on an action sheet.

I am trying to use a sample app use it on iOS5, but I have been getting an error;

*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason:
‘-[UITableViewController loadView] loaded the “2-view-5” nib but didn’t get a UITableView.’
*** First throw call stack:

Do you know what exactly i need to do to fix that?
And, do you have any recommendation of popover examples for iOS5?

UYLMasterViewController.m
#import "UYLMasterViewController.h"
#import "UYLDetailViewController.h"

@implementation UYLMasterViewController

@synthesize detailViewController = _detailViewController;

#pragma mark -
#pragma mark === View Management ===
#pragma mark -

- (void)viewDidUnload
{
[super viewDidUnload];
self.detailViewController = nil;

}



- (BOOL)shouldAutorotateToInterfaceOrientation:   (UIInterfaceOrientation)interfaceOrientation
{
return YES;
}

#pragma mark -
#pragma mark === Table View Delegates ===
#pragma mark -

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return 20;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";

UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
    cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
}

NSUInteger row = [indexPath row];
cell.textLabel.text = [NSString stringWithFormat:@"Item %u", row+1];
return cell;
}

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
NSUInteger item = [indexPath row] +1;
NSNumber *detailItem = [NSNumber numberWithInteger:item];

if (self.detailViewController)
{
    self.detailViewController.detailItem = detailItem;
}
}

@end
  • 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-30T14:42:26+00:00Added an answer on May 30, 2026 at 2:42 pm

    If you didn’t modify anything from the sample app, this is quite strange.
    Anyway, I usually get this error when I forgot to set an IBOutlet connection from the table to the controller UITableViewController.

    It is likely that you delete it by mistake, or Xcode lost its connection for some reason (it happens).

    See if UYLMasterViewController.h is a UITableViewController. If yes, then the UITableView must be the first view in nib file, directly connected to the ‘view’ IBOutlet property of the controller.
    Otherwise if UITableView is inside a UIView then you get the exact error you mentioned.

    A probable solution, if UITableView is not the main view, would be to set UYLMasterViewController as a normal UIViewController and give it all the delegate accessor, then drag a connection from the UITableView to the controller, you will see that you have two options delegate and datasource, you need both.

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

Sidebar

Related Questions

I am developing a chronometer app for iPhone which will used by the drivers
I'm developing an app that we will put on Android tablets on be used
I am developing an iphone app which will fetch the data from CSV file
I am developing a web app for which I plan to use InnoDB. However
I'm considering developing an app for Google App Engine, which should not get too
I'm developing iphone app which take pictures and store it in iphone (within app
I'm developing an app which will have a central database users can add entries
I am developing an app which will ring alarm at a particular time. How
Hi i am developing app in which there will be multiple tables in single
Okay, so I'm currently developing an iphone app that I plan to take into

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.