在iCloud文件夹中列出所有文件

发布于 2025-01-21 20:48:08 字数 82 浏览 3 评论 0原文

我想搜索我iCloud驱动器中存在的文件夹中的文件夹。如何在iOS设备或Mac上(通过Catalyst)上的iCloud文件夹中的所有文件的路径获取?

I want to search a folder that exists in my iCloud Drive for files. How can I get the paths of all files inside an iCloud folder on an iOS device or on Mac (via Catalyst)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

丘比特射中我 2025-01-28 20:48:08
  1. 检查iCloud> Xcode Project Signing& iCloud文档功能。

  2. 然后,我们需要用户允许访问该文件夹。按照 apple doc 中的指示。它显示了如何通过通过uidocumentPickerviewController选择文件夹来访问文件夹的权限。它还显示了如何列出该iCloud文件夹中的所有文件(甚至在应用程序容器之外的文件)中保存以供将来访问。

  1. Check iCloud > iCloud Documents in Xcode project Signing & Capabilities.

  2. Then we need the user to allow access to the Folder. Follow the directions in the Apple Doc. It shows how to ask for permission to access a folder by selecting it via the UIDocumentPickerViewController . It also shows how to list all files in that iCloud folder (even files outside the app’s container) and save it for future access.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文