0
votes

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?

2
How much data are you looking to store? Depending on the function of you saving that data it may be applicable to store the content in the documents directory. - propstm
It depends on how many items, the user will add, and how large the pictures will be. - Vikings
If it's user created content, and the user has the ability to also remove content, then storing content there would make sense. I haven't found any issues in the past with saving to that directory. - propstm

2 Answers

0
votes

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.

0
votes

I think,You have to give limit the number of downloads & saving that images & after limit is completed.delete previous save new one..