简体   繁体   中英

Documents Directory Saving Images

I have an application that saves images to the documents directory. I have been doing some reading, and I have heard developers applications have been rejected for storing too much data in the documents directory.

I know I can exclude the pictures from the iCloud backup, but I wanted a way for user's to backup their pictures. This application will likely be a free app, so I do not want to run a server to hold backups.

Any ideas or suggestions on a way to backup the user's photos?

There is nothing wrong with storing lots and lots of data and files in the Documents directory. The requirement is that the data / files must be actual user data that can't be easily replaced if lost. If the photos exist no where else and the photos come from the user using the app, you will be fine.

In other words, don't store content that can be re-downloaded from your server for example.

我认为,您必须限制下载的数量并保存该图像,并在限制完成后删除以前保存的新图像。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM