本文介绍了使用SFSafariViewController下载文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是不是 SFSafariViewController 能够下载文件吗?我正在尝试这样做,但保存到对话框不会出现。在本地Safari中打开的同一页面打开。
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.
我的实现是基本的:
let svc = SFSafariViewController(URL: NSURL(string: self.urlString)!) present(svc, animated: true, completion: nil)推荐答案
不,使用SFSafariViewController无法下载文件。
No, it's not possible to download file using SFSafariViewController.
更多推荐
使用SFSafariViewController下载文档
发布评论