iCloud + Storage of media in iPhone Documents folder
Posted
by
Michael Morrison
on Stack Overflow
See other posts from Stack Overflow
or by Michael Morrison
Published on 2011-10-14T03:28:20Z
Indexed on
2011/11/16
1:50 UTC
Read the original article
Hit count: 398
I, like many developers, got an email from Apple recently that stated we should move our data from the documents directory into another folder to permit more streamlined backup to iCloud.
In recent testing it appears that [your app] stores a fair amount of data in its Documents folder.
Since iCloud backups are performed daily over Wi-Fi for each user's iOS device, it's important to ensure the best possible user experience by minimizing the amount of data being stored by your app.
Marco Arment, of instapaper fame, has a good take on the issue, which is that the recommended location for storing downloadable files is in /Library/Caches. However, the problem is that both /tmp and /Caches can be 'cleaned' anytime the OS decides that the device is running low on storage. If your app is cleaned then the data downloaded by your app and stored by your user is gone. Naturally, the user will blame you and not Apple.
What to do?
© Stack Overflow or respective owner