iphone - 'Tried to pop to a view controller that doesn't exist.' -


I get this error when I dismiss my method. Here is the method stub:

  - Dismiss (IBAction) See {RootView Controller * Root Controller = [[RootviewController alloc] initWithNibName: @ "RootViewController" bundle: zero]; [Self. Navigation Controller Popout Control Controller: Root Controller Animated: Yes]; }  

This should work, and I have checked, the root controller has been initialized and allocated. any idea?

I had this problem recently and resolved with something like this ...

  [self. Navigation Controller PopUpview Controller: [auto. Navigation Controller View Controller ItemAntx: 1] Animated: Yes];  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -