ios: delete file on successful upload?

Archived from the Transloadit support forum. Originally posted on January 26, 2011; details may be outdated, see our docs for current behavior. Original thread

I see that the iOS SDK writes the image to disk, then uses ASIHttpRequest to upload it. On success, is the file deleted? I see that NSTemporaryDirectory is used but you are responsible for deleting any temporary files that you created. The system will clean them up at startup, but that could be a very long time away.