Storing pictures in iCloud

ぐ巨炮叔叔 提交于 2019-12-08 11:26:26

问题


I'm currently working on a concept for a new iPhone app, the would involve some very basic profile system.

Since all the other data will be stored in iCloud, I was wondering if it would be possible to store pictures in the cloud too. I see that the storage per app is only 1MB, so this seems extremely low to store pictures.


回答1:


The 1 MB limit is for Key-Value storage only (and KV storage is inappropriate for images for other reasons, too). If you use the Documents in the Cloud APIs, your app can store a large number of large files, limited only by how much space the user has (or hasn't) paid for. (Though it's wise to use that space judiciously and efficiently, as your potential customers won't be happy if your app alone causes them to blow the storage limits on their account.)



来源:https://stackoverflow.com/questions/11288238/storing-pictures-in-icloud

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!