如何让我的应用程序创建/下载的文件显示在文件应用程序中?

How can I make files created / downloaded by my app show up in the Files application?

我设法下载了文件并将它们保存在文档目录中,但是我无法从“文件”应用程序(文件管理器)访问它们。

在 info.plist

中添加以下权限
Application supports iTunes file sharing  = yes
Supports opening documents in place  = yes