1
votes

I have this problem: my main window contains a Tab Bar Controller that manages some views of my app: I have for example 3 buttons on the bar and 3 UIViewController, one for each button and everything works fine.

Now I wish make this: in the firstViewController, I wish add a navigation controller to manage some data... If I add the navigationcontroller into the uiviewcontroller nothing happens... how can I do for this??

thanks

1
I don't have some code, everything is made by the interface builderghiboz

1 Answers

1
votes

If I understand what you're asking, you're just doing it the wrong way round.

Currently, your structure goes:

UITabBarController -> UIViewController -> UINavigationController

It should be like this:

UITabBarController -> UINavigationController -> UIViewController