[英]Can not go back once I start UIViewController
I'm starting a new UIViewController
with我正在开始一个新的UIViewController
let myViewController = MyViewController()
navigationController?.pushViewController(myViewController, animated: true)
But then on my MyViewController() I do not see the arrow to go back, what I'm missing?.但是在我的 MyViewController() 上,我没有看到返回的箭头,我错过了什么?。
I think that there are 2 solutions to go back.我认为有两种解决方案可以返回。
如果您不在 MyViewController 类中使用 init 方法,请使用故事板标识符加载 MyViewController()。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.