I believe that you can save data in the Caches
or Documents
or tmp
. The first 2 are actually supported (i.e. backing up data) iTunes automatically when connected to it.
For example, this code accesses the Caches
directory -
NSArray *cachesDirList = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); NSString *cacheDir = [cachesDirList objectAtIndex:0];
You can experiment with Documents
or tmp
same way. Hope this helps ...
Srikar appalaraju
source share