I am looking for the best approach to mimic the iPod application on the iPhone/iPod Touch. Specifically, I want to mimic what happens when the iPod player (when a track is actually played) shows up. The iPod application starts as a tabBarController with every tab holding a navigationController. However, when a track is played, the entire tabBarController is replaced by a new viewController.
What is the best approach for this kind of UI? At first, I thought the tabBarController needed to be added to a separate navigationController, but this resulted in two navigation bars (one on top of the other).
Any advice is welcome. Cheers.
Use the
hidesBottomBarWhenPushedproperty. Your controller will stay within your existing navigation-controller hierarchy (unlike fluchtpunkt’s solution), and the tab bar will automatically hide and show itself when your player controller appears and disappears.