I’m working on a magazine-like app, and I’m planning to cache downloaded content into system.DocumentsDirectory. I learned recently that this approach is not recommended and might get your app rejected:
http://iphoneincubator.com/blog/data-management/local-file-storage-in-ios-5
A simple workaround that will work immediately is to support storing to
<application_home>/Library/Caches
That is not really a workaround, as this scenario can still happen:
http://www.marco.org/2011/10/13/ios5-caches-cleaning
However, having access to <application_home>/Library/Caches instead of storing files in system.DocumentsDirectory (and getting my app rejected by Apple) is preferable. I’m also guessing this is very easy to do, compared to the real solution.
The real solution is to fully support storing files to iOS Cloud, but I understand that will take a lot more work, and it’s not even currently on the roadmap. [import]uid: 7026 topic_id: 17114 reply_id: 317114[/import] </application_home></application_home>