When hitting the Back button on a navigation controller, does the view get popped off the stack? If so, how can I test that or make sure that it does it correctly (in other words, created a proper navigation controller)?
I need to see if the view is actually getting popped. Is there anything I can NSLog that shows me the stack or something?
Thanks,
The viewController is getting popped from the stack yes. You can also
NSLog(@"%@", self.navigationController.viewControllers);in- (void)viewWillAppearand- (void)viewDidAppearmethods of the parent viewController to see the differences if you don’t trust that Apple engineers did a good job with it.