问题描述
是否已经可以将ViewController嵌入到UINavigationController中?
我知道要在NavigationController中显示ViewController,您应该像这样先对其进行初始化:
let navigationController = UINavigationController(rootViewController: viewController)
self.present(navigationController,animated: true)
但是我想知道是否可以提供VC:
self.present(viewController,animated: true)
,并在将其展示后嵌入到NavigationController中。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)