|Oct 24, 2009, 09:58 PM||#1|
Uncaught Exception: Loaded Nib but didn't get UITableView
I'm new here and new to iPhone Programming and was hoping that someone would be able to help me out with a problem that I've been trying to fix for a few days now.
I want to be able to click a cell in my table view and have it drill down into a more detailed table with additional information. I have my tab bar controllers in place and thought the navigation bar was set up properly as well, but when I build (it succeeds without any errors or warnings) and go, it loads up and when i click a cell in the table, I get this warning:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UITableViewController loadView] loaded the "DetailView" nib but didn't get a UITableView.'
Is this strictly an Interface Builder problem?
I'm not sure what code to provide since I don't know where the problem lies, but can gladly provide it to anyone willing to help
|Oct 25, 2009, 10:07 AM||#2|
If you're using a subclass of UITableViewController its view property, which you are setting in IB, must be a UITableView. I guess from the assertion failure you've connected the view property to some other kind of view.
UITableViewController works with tables that take up the whole screen. If you want to have a screen where there are other views you need to use a subclass of UIViewController.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Exception breakpoint where no exception is caused||moonman239||iPhone/iPad Programming||1||Apr 30, 2014 07:03 AM|
|HELP! *** Terminating app due to uncaught exception 'NSUnknownKeyException'||rwaller1||iPhone/iPad Programming||4||Sep 4, 2013 11:40 AM|
|Terminating app due to uncaught exception 'NSUnknownKeyException'||cmi2012||iPhone/iPad Programming||10||Jul 20, 2012 02:06 PM|
|Xcode 4.5 problems - breakpoints I don't want and libc++abi.dylib uncaught exception||moonman239||iPhone/iPad Programming||1||Jun 20, 2012 02:09 PM|
All times are GMT -5. The time now is 05:11 AM.