iOS开发可以访问iCloud图片吗

iOS开发可以访问iCloud图片吗?iOS开发可以访问iCloud图片吗?需要将云图片做上传服务器操作

1个回答

 networkAccessAllowed Property

A Boolean value that specifies whether Photos can download the requested image from iCloud.

networkAccessAllowed

Discussion

If YES, and the requested image is not stored on the local device, Photos downloads the image from iCloud. To be notified of the download’s progress, use the progressHandler property to provide a block that Photos calls periodically while downloading the image. If NO (the default), and the image is not on the local device, the PHImageResultIsInCloudKey value in the result handler’s info dictionary indicates that the image is not available unless you enable network access.
oyljerry
oyljerry 可以啊。你设置TRUE,会触发系统下载下来再访问
接近 3 年之前 回复
guofeifei1017
guofeifei1017 那就是不可以访问了吗
接近 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!