【发布时间】:2015-04-24 16:15:08
【问题描述】:
假设我们有一个名为“myImage.png”的图像文件,我通过网站 www.icloud.com 在我的 iCloud 驱动器上添加了这个文件。
为此,我测试了许多代码,例如this、this,最后尝试使用命令startDownloadingUbiquitousItemAtURL,但它们都不起作用(我只能下载该路径中存在的文件下面:)
/Users/mynamemac/Library/Developer/CoreSimulator/Devices/07BAC437-D32A-44BB-BC25-5683222B7516/data/Library/Mobile%20Documents/
知道我想将文件存储在我的 iCloud Drive 中并保存在我的目录中,我该如何下载这个文件并保存在我的设备上?
【问题讨论】:
-
是否可以使用任何 iCloud api 通过 iCloud 共享链接?
标签: ios objective-c ios8 icloud icloud-drive