According to the iOS Storage Guide , you should probably store your acquired data inside Application_Home / Library / Caches >. The downloaded data does not belong to the Documents folder.
Apple provides a list of different directories and what you should tag in the File System Programming Guide . The most important is:
- Application_Home / Documents / Use this directory to store user documents and application data files.
- Application_Home / Library / This directory is the top-level directory for files that are not user data files.
- Application_Home / tmp / Use this directory to write temporary files that should not be saved between starts of your application.
As a rule, this means that everything that is not intended for viewing by the user must enter the directory inside the library directory. Typically, you would use one of them, but in the File System Programming Guide
Claus broch
source share