apple reject my app because i store the pdf documents that my app allow to download to ApplicationDataDirectory and they told me that this directory is backup in the iCloud and i have to store my downloaded data on <Application_Home>/Library/Caches how to access to this disctory. thanks
the solution is Titanium.Filesystem.applicationCacheDirectory it's add in the last version of titanium 2.0.2
Only documents and other data that is user-generated, or that cannot otherwise be recreated by your application, should be stored in the <Application_Home>/Documents directory and will be automatically backed up by iCloud.
Data that can be downloaded again or regenerated should be stored in the <Application_Home>/Library/Caches directory. Examples of files you should put in the Caches directory include database cache files and downloadable content, such as that used by magazine, newspaper, and map applications.
that what apple say about that
look at: this topic
Gertjan Smits suggested to use:
Titanium.Filesystem.applicationDataDirectory + "../Library/Caches/";
Think you can help? Login to answer this question!