Accessing Cache directory of the iphone
Hi,
Can anyone help me in knowing how to access the files in the Cache directory of the iphone. I would like to place the data downloaded from http server and place the xml content in a file created by myself. for every 1min I will be refreshing the content in the file (or deleting the file and creating again) to cache my content and its updates.
If anyone had tried , please help me by throwing possbilites through the sdk..
Thank u.
Hi,
I have gone through the URLCache Code but it doesnot writing the content in the Cache directory in LIBRARY . It is writing the content in the DOCUMENTS directory of the application.
When I tried to write in LIBRARY/CACHE (as per the documentS), I didnt find the CACHE directory in the LIBRARY folder itself.
Do anyone know how to get the LIBRARY/CACHE accessed.
Thank u.
Last edited by mpramodjain; 01-16-2009 at 03:00 AM.
Reason: URLCache.
|