I\'ve got a UINavigationController
with a series of UIViewControllers
on it. Under some circumstances, I want to pop back exactly two levels. I thoug
Also, as to what you were doing wrong, I believe the reason why [self.navigationController popViewControllerAnimated:YES]
isn't working the second time is because you are probably making this second call on the screen that is being popped on the first call. After the first call, the current view is removed from the navigation controller, so by the time you make the second call, self.navigationController
will return nil because it no longer has a navigation controller.