I am using UINavigationController to push and pop a view.
I used [[self navigationController] pushViewController:myView animated:YES]
to push in a view. Then I clicked the top-left back button to go back, I am getting error:
*** -[NSCFDictionary superview]: unrecognized selector sent to instance 0x1451a0
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFDictionary superview]: unrecognized selector sent to instance 0x1451a0'
I am wondering which method -popViewController
is calling when the back button is called.
Whether this error happens in the first view or the second view which is pushed in.
Thanks.