|Apr 10, 2009, 03: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|
|iPhone: DebianSaverLaunchDeamon only works some of the time. Can somebody help?||charlestx||Jailbreaks and iOS Hacks||4||Feb 27, 2014 07:55 PM|
|Touch ID works what percent of the time||bushman4||iPhone||48||Dec 13, 2013 01:10 PM|
|Time machine Back up Time||anemicrock||OS X||1||Oct 25, 2013 04:00 PM|
|Nothing works on my Time Capsule||PalacePlayers||Mac Peripherals||3||Apr 30, 2013 09:32 AM|
|Can someone explain how Time Machine works?||Greencardman||OS X||0||Nov 12, 2012 01:40 PM|
All times are GMT -5. The time now is 05:19 AM.