I want to save downloaded magazines to one directory in my iOS app. It seems NSCachesDirectory
and NSDownloadsDirectory
are suitable. I don't know the difference between them and which one is suitable for downloading magazines. Any suggestions are appreciated.
NSCachesDirectory can be deleted in cases of low memory
If you don't want your files to be deleted you have to store them in the Documents directory, but add "do not backup" if you don't want your files to be backed by iTunes, iCloud etc..
Please look at the apple's File System Programming Guide or File System Basics
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With