I am using Storyboard and Xcode 6. I have next controllers and scenes in my Storyboard:
UINavigationController
that has HomeViewController
as a root. HomeViewController
has a button that Show (e.g. Push)
UITabBarController
. UITabBarController
has 4 UIViewControllers
.
But my problem that after I Show UITabBarController
there are no Navigation Bars in 4 UIViewControllers
. But I supposed that if I Show (e.g. Push)
UITabBarController
then it should has embedded navigation controller that is initial controller in storyboard. Am I right? And if so how can I setup then navigation bar in Storyboard, because there are now default bar event in pushed tab bar that I see on storyboard. I have selected UIViewController and set simulated metrics in identity inspector to Translucent Navigation bar for the Top property, but I supposed it should be automatically added to this controller and to the tab bar without additional steps.
Or should I add new navigation controller for each tab bar items that will have their root view controllers?
The main question why I don't see navigation bar in storyboard using show (e.g. Push). For example if I add navigation controller and then set as root - tab bar controller then Xcode automatically add top navigation bar, but if the queue has an extra step like in my case HomeViewController the top navigation bar never appear automatically.