title: Can I save the keep the absolute path of a file in database?
body: <p>In my app I save some photos in sandbox and I keep its absolute path in database. Then I build and run again, I fetch the path and try to get the photo, it says the file doesn't exist.</p>
  
  <p>At last, I found that every time I build and run my app, the path of app is different.</p>
  
  <p>I use <code>NSTemporaryDirectory()</code> to get the temporary path, I run two times and get two results.</p>
  
  <blockquote>
    <p>/private/var/mobile/Applications/80E09BB5-5FEB-4C27-935E-E29DE7861392/tmp/
    /private/var/mobile/Applications/71427100-0DBF-42F0-B6B4-F88F6417292E/tmp/</p>
  </blockquote>
  
  <p>Is it normal? When user updates my app, will the absolute path change?</p>
  
  <p>If it's normal, should I just keep the relative path in database? Is there some best practice?</p>