3 ms·
iOS cleans up Caches/tmp directory, it it needs space. https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammin
by ar15saveslives 10y ago
iOS cleans up Caches/tmp directory, it it needs space.
https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW1 https://developer.apple.com/library/content/documentation/Fi...
> "Note that the system may delete the Caches/ directory to free up disk space, so your app must be able to re-create or download these files as needed."
> tmp: "however, the system may purge this directory when your app is not running."
- vinayan3 10y agoDespite this claim. It doesn't feel like it happens. Maybe, apps aren't writing the Cache files to the right place and that's why they aren't being cleaned up.
- mwexler 10y agoBut system controlled garbage collection is great until it's not. When I need space, I need it now, not when system decides I do. We've seen it with Java, and now with iOS. Yet another thing that iOS does on my behalf that I may wish to do myself.