|Apr 10, 2009, 04:36 PM||#1|
NavigationController works first time out and back but not second time
I get the following error :
2009-04-10 16:06:30.268 SQLiteBooks[7061:20b] *** -[NSCFSet setParentViewController:]: unrecognized selector sent to instance 0x25315c0
2009-04-10 16:06:30.268 SQLiteBooks[7061:20b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFSet setParentViewController:]: unrecognized selector sent to instance 0x25315c0'
2009-04-10 16:06:30.269 SQLiteBooks[7061:20b] Stack: (
I based this app on example SQLiteBooks, the name for the PCH is still name
that way, hence the Listing above.
This error occurs not the first time but the SECOND time I try to "navigate" from one view to
a second view. I successfully reach the second view on the first attempt ( after
push the UIViewController for the second view onto the UINavigationController), that is
following a section in the TableView of the first view the following code runs
in an Instance of MasterViewController
[[self navigationController] pushViewController:subListViewController animated:YES];
The navigation Bar has a BackButton on VC #2 , which I used to return to the view of the original
MasterViewController. I immediately select an item in the tableView of the MasterViewController
, attempting to return to the second view for a second time
and immediately receive the error message above.
The BackButton of the SubListViewController appears to successfully pop off the "second" VC
or sublistViewController from the NavigationControllers stack. Can you please suggest
how I go about discovering a solution to this problem.
I have commented out almost all of the code in MasterViewController to reduce the
MasterViewController, the first VC is loaded from a Nib.
I hope this info is sufficient and not too much.
Many Thanks for looking at this post. Mark
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Mybook works with time machine on MBP but not MBA||macgrl||Mac Peripherals||7||Aug 30, 2011 11:03 AM|
|Time Capsule and SNMP - not working, but SNMP is enabled||digitalformula||Mac Peripherals||0||Mar 24, 2011 04:54 AM|
|Line out cable noisy?? But not on old ipod||Magrathea||iPad Accessories||0||Jan 20, 2011 08:20 PM|
|Time Capsule-- Works fine on iMac and Macbook but not Macbook Pro?||idesign245||Mac Peripherals||6||Dec 30, 2008 03:16 PM|
|href HTML elements works fine for Firefox and IE but not for Mac Safari||santha||Web Design and Development||2||Jun 15, 2007 09:16 PM|
All times are GMT -5. The time now is 03:41 PM.