title: Saving file to tmp directory when iphone/ipad storage is full
body: <p>Let's say an app downloads images from web while the user is browsing the app. Let's assume there are virtually unlimited images and a new image is downloaded whenever the user demands one. These images are saved to tmp directory for caching purpose. Once the user closes the app, all the images downloaded are deleted by the app.</p>
  
  <p>Now, as there are unlimited images, what will happen if the user requests next image, the storage is full and the app attempts to save the image to the tmp directory?</p>
  
  <p><strong>Will the previous images be deleted by the iOS automatically to provide the space required for the new images?</strong> 
  OR
  <strong>Will the iOS start cleaning tmp directory associated with other apps?</strong>(If yes, what happens when the storage is full again and such cleaning has already taken place for all the other apps?)
  OR
  <strong>Will the app crash?</strong></p>