Let’s say that me app creates temporarily pdf and png files on Documents folder of the app. It’s good manners to delete the files when your app terminates or go to the background (it depends). Let’s see a chunk of code that do the job Enjoy!
If you are testing your app in Xcode iPhone Simulator access the following folder: ~/Library/Application Support/iPhone Simulator/User/Applications/…/Documents Trouble to find user’s Library? Navigate to users home using Finder, click to Go from menu, then go to folder… and type ~/Library Done. Hmmm… and when you testing your app to iPhone? Use the Organizer from Xcode