【发布时间】:2016-12-20 02:36:07
【问题描述】:
这是错误 -
在您的应用中找到的以下 URL 方案的格式不正确。有关详细信息,请参阅 RFC1738。
这是我的代码 -
@IBAction func webdropbox1(_ sender: Any) {
let safariVC = SFSafariViewController(url: NSURL(string: "www.dropbox.com")! as URL)
self.present(safariVC, animated: true, completion: nil)
safariVC.delegate = self
}
我还把 URL 添加到我的 info.plist 文件中 -
Info.plist 文件截图:
【问题讨论】:
标签: ios xcode url-scheme sfsafariviewcontroller