【发布时间】:2016-11-24 11:29:52
【问题描述】:
我正在尝试打开新视图
ViewController.swift -> InAppBrowserController.swift
Main.storyboard -> InAppBrowser View make & Storyboard Id -> 好的。
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let nextViewController = storyboard.instantiateViewController(withIdentifier: "InAppBrowserView") as! InAppBrowserController
self.present(nextViewController, animated: true, completion: nil)
块引用 致命错误:在展开可选值时意外发现 nil 2016-11-24 20:24:50.569000 GMK SWork[5920:2148780] 致命错误:在展开可选值时意外发现 nil
有什么问题?
【问题讨论】: