title: How Do I Save my photo from tmp directory folder to library/ document folder in xamarin iOS
body: <p>I want to save my photo from the temp folder to the library or document folder in Xamarin IOS. I use iPhone Simulator for that and Xamarin iOS native for my development. Firstly, I get the URL path then I change to the real path. 
  So far, I got the real path :</p>
  
  <pre><code>NSUrl myFileUrl = new NSUrl(ImageValue);
              Console.WriteLine(myFileUrl.AbsoluteString);
              FromGalleryPath= myFileUrl.Path;
  </code></pre>
  
  <p>But the result of the path is </p>
  
  <pre><code>.../Application/xxx/tmp/5B4AFD16E192.jpeg
  </code></pre>
  
  <p>I don't want to store my image in the tmp --> <code>Application/xxx/tmp/</code> because, every time when I restart my emulator then the picture gone! How can I save my image into the library/ document folder and how to retrieve back the path from the library/ document folder?</p>
  
  <p>I've searched on the internet but, still no idea. Can anyone help me?</p>
  
  <p>Thank in advance. </p>