我賽格瑞與錯誤返回從這一行> self.navigationController(展開一個可選值)?....導航Segue公司不能正常工作的iOS斯威夫特
在我的代碼...
let nextScreen = self.storyboard!.instantiateViewControllerWithIdentifier("onboarding-what") as? ViewController
self.navigationController?.pushViewController(nextScreen!, animated: true)
這上面的代碼在我入職開始視圖控制器實現
最後一個視圖控制器具有日「onboarding-what」的ID。
我已閱讀導航控制器的文檔,但似乎無法找到我的問題。有沒有人有辦法解決嗎?
良好的漁獲,謝謝! –