问题
Isn't SFSafariViewController
able to download documents? I'm trying to do this, but the "Save to" dialog doesn't appear. From the same page opened in native Safari it opens.
My implementation is basic:
let svc = SFSafariViewController(URL: NSURL(string: self.urlString)!)
present(svc, animated: true, completion: nil)
回答1:
No, it's not possible to download file using SFSafariViewController.
来源:https://stackoverflow.com/questions/41518443/download-documents-with-sfsafariviewcontroller