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
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.