您必须用另一个NavigationController包装articleVC。或者,可以使用导航控制器将其推送以重用NavigationBar,而不是使用segue。
let yourArticleViewController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "articleViewControllerIdentifier") as! ArticleViewController
self.navigationController?.pushViewController(yourArticleViewController, animated: true)
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句