So I'm working on an app that has a tab bar for the main part of the app. In the first tab you have a list, and when you tab on a cell it pushed a UIViewController with some details.
This view controller calls (below) when it is created so it hides the tab bar for the main part of the app when it is pushed...
[self setHidesBottomBarWhenPushed:YES];
I'd like to now add another tab bar to help separate out the information in this pushed details view.
How can I do this? Thanks already! :-)
您必须向xib添加tabbarcontroller,并在detailview出现时(在viewWillAppear:animated
方法中)将tabbarcontroller添加为子视图,或者直接将tabbarcontroller作为detailview推送。
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.