【发布时间】:2019-10-02 03:58:15
【问题描述】:
我使用SWRevealViewController 和TabBar Controller 作为前面和一个VC,我在其中放置了TableView 作为SWReveal VC 的后视图。
我的用户界面看起来像这样,
现在,当我单击表格视图并想要打开第一个标签栏 VC 时,它会从底部隐藏我的标签栏。通过这段代码,我尝试打开我的TabBar Controller,
var menuVCBeforeLoginArray = ["NewsVC","BookmarkVC","MessageVC"]
let vcIdentifier = menuVCBeforeLoginArray[indexPath.row]
let vc = storyboard!.instantiateViewController(withIdentifier: vcIdentifier)
let navVC = UINavigationController.init(rootViewController: vc)
self.revealViewController().pushFrontViewController(navVC, animated: true)
现在,当它打开第一个标签栏时,它看起来像这样,带有隐藏的底栏。
即使我从侧边菜单打开 VC,如何显示底栏?
【问题讨论】:
标签: ios swift swrevealviewcontroller