title: User specific Documents directory on iOS device
body: <p>In my iOS app I want to store some user specific data.</p>
  
  <p>I expected <code>NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0]</code> to return the Documents directory of the user, but instead it returns the following directory: <code>/var/mobile/Containers/Data/Application/%app_id%/Documents</code></p>
  
  <p>When i log in with another user (Apple-ID) on my iOS device, this path stays exactly the same.</p>
  
  <p>It seems like this directory is only user specific in Mac OS.</p>
  
  <p>So which directory should I use to store user specific data in iOS?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>According to the previous answers and comments, the desired behaviour doesn't seem to be intended.</p>