简体   繁体   中英

TabBar Controller on DetailViewController

I have 5 pages and linked eachother with TabBarController. My last viewcontroller is called More and it is table viewcontroller. In this tableviewcontroller, many other viewcontrollers are linked to this tableviewcontroller such as like us, contact us, rate us etc.. I want to see main tabbar on these viewcontrollers also. How is it possible? I use storyboard.

If you want to simulate the tab bar in the viewcontrollers in your storyboard, have a look at the Attributes Inspector, section Simulated Metrics:

在此处输入图片说明

Instead of linking the MoreViewController to your TabController, link to a NavigationController and set its rootViewController to the MoreViewController. Now you can easily navigate to your other tableviewcontrollers.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM