Here's the scenario:
- Window creates a tab bar controller and adds multiple tab bar item view controllers with a
UINavigationControlleras the top view. viewWillAppeargets called on the first tab bar view.- The user taps a control on the first tab view that pushes a view controller on the nav stack.
viewWillDisappeargets called. - After user interaction, the view is popped off the nav stack.
viewWillAppearis called. - User taps something which causes another view to be pushed on the nav stack.
viewWillDisappearis called. - User taps something which causes the code to set the selectedViewController on the tab bar controller.
viewWillDisappeargets called AGAIN on the main view for the first tab bar item.
Any ideas?