title: how to get the full path of an ios application?
body: <p>You can get the path of an application with <code>[[NSBundle mainBundle] bundlePath]</code>. This method returns: </p>
  
  <p><code>/var/mobile/Applications/3204358E-3076-46D7-9E3B-6D4CF021EF5A/myApp.app</code> </p>
  
  <p>but I need to extract the full path of document directory:</p>
  
  <pre><code>File://localhost/private/var/mobile/Applications/3204358E-3076-46D7-9E3B-6D4CF021EF5E/
  </code></pre>
  
  <p>Is that <code>File://localhost/private/</code> is constant ? If no, how can I get this path ?</p>