Reputation: 9219
I am currently storing around 58 MB of files needed by my app in Library/Cache directory of the app.
I have some users who complain that they are not able to see these files. I suspect this may be because cache directory gets purged by OS in Low Space conditions.
So, I would like to know the size of Cache directory so that I can plan for storing my files.
Please let me know.
Thanks!
Upvotes: 2
Views: 3280
Reputation: 29767
I think that size is undefined and you can store content until you fill all disk space. But there is one note for Cache directory -
On iOS 5.0 and later, the system may delete the Caches directory on rare occasions when the system is very low on disk space. This will never occur while an app is running. However, you should be aware that iTunes restore is not necessarily the only condition under which the Caches directory can be erased.
See The Library Directory Stores App-Specific Files
Upvotes: 4