tags:

views:

37

answers:

1

Hi, I want to save some images in my server to the iPhone app temporarly.It is one of my applications purpose when the user closes the app the saved images should be deleted.Again when the user starts my application and taps on corresponding button again i need to save the data.I donno how to start it.I know only we can do this with the help of NSFileManager.Please can any one guide me how to start or write the code..Thanks in Advance :)

+1  A: 

Store the files in either the tmp or Library/Caches folder. In neither case will the files be automatically deleted, but they won't be backed up and so don't contribute permanently to the app's storage requirements. If you also want to delete the files on close, do it in -applicationWillTerminate.

Graham Lee
some one please xplain it clearly am very new to this platform..don't mind please
iPhoneStruggler