使用 UIDocumentPicker 时,有没有办法知道文档来自哪个外部应用程序?

When using UIDocumentPicker, is there a way to know which external app the document is coming from?

我正在使用 iOS 8 的 UIDocumentPicker,从许多不同的外部应用程序(例如 Dropbox 和 Google Drive)上传各种文档。有什么方法可以让我知道用户从哪个应用程序获取文档?

没有。没有 API 提供此信息。您所知道的只是所选文件的临时文件 URL(使用导入模式时)。