I have a flow map like this:
- EntryView
|
- TabBar - NavigationController - FirstView - FirstSubview
|
- SecondView
When I go to from the FirstSubView to the SecondView is all fine. But when I want to go back to the FirstView by tapping the tab bar item the FirstSubview appears. I want that the FirstView appears. How I have to solved the problem?
Thanks for help!
You could pop the FirstSubview from the navigation stack by implementing
- (void)viewWillDisappear:(BOOL)animated
{
[self.navigationController popViewControllerAnimated:NO];
}
in your FirstSubview. However I haven't yet tried out what happens if you push the back button of the navigation bar.