2
我想在用户上传内容后到达Dropbox网站的“谢谢”页面时自动关闭SFSafariViewController;它需要自动解雇。我怎样才能做到这一点?如何在到达特定页面时自动关闭SFSafariViewController
这是我到目前为止有:
@IBAction func Singles5(_ sender: Any) {
let safariVC = SFSafariViewController(url: NSURL(string: "https://www.dropbox/Upload")! as URL)
self.present(safariVC, animated: true, completion: nil)
safariVC.delegate = self
}
提高的问题。现在,你有**任何可能的例子吗? (从Swift 2开始,我没有在任何事情中使用SFSafariViewController - 个人或专业 - 可以这样做吗?) – dfd