Documents: Saves data that needs to be persisted when the app runs, and it backs up the directory when itunes synchronizes the device. For example, a game app can save a game archive in this directory, TMP: Save the temporary data needed to run the app, and then delete the corresponding file from that directory when it's finished. When the app is not running, the system may also purge files in that directory. itunes syncs the device without backing up the directory library/Caches: Saves data that needs to be persisted when the app runs, and itunes syncs the device without backing up the directory. Non-critical data with large storage volumes and no backup library/preference: Save all preferences for your app, and the iOS settings (settings) app will find the app's settings information in that directory. This directory is backed up when itunes syncs the device
iOS sandbox directory