【发布时间】:2017-09-10 17:29:23
【问题描述】:
当前位于导航控制器堆栈上的视图控制器中的代码。现在我想将UITableViewContoller 推送到导航堆栈上。我正在使用以下代码:
let destinationVC = self.storyboard?.instantiateViewController(withIdentifier: "formTableVC") as! FormTableViewController
self.navigationController?.pushViewController(destinationVC, animated: true)
UITableViewContoller 显示,但导航栏未显示。如何解决这个问题?我希望在UITableViewContoller 的导航栏中也显示已被继承到所有先前视图控制器的设计。任何帮助将不胜感激。谢谢。
【问题讨论】:
标签: ios swift uitableview uinavigationcontroller