title: Swift 3.0 Getting URL of UIImage selected from UIImagePickerController
body: <p>Note:- This question is only for Swift 3.0
  I am able to get the path prio to Swift 3.0</p>
  
  <p>I want to get UIImage's path picked in <em>didFinishPickingMediaWithInfo</em> method</p>
  
  <pre><code>let imageUrl          = info[UIImagePickerControllerReferenceURL] as? NSURL
  let imageName         = imageUrl.lastPathComponent
  let documentDirectory = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first!
  let photoURL          = NSURL(fileURLWithPath: documentDirectory)
  let localPath         = photoURL.appendingPathComponent(imageName!)
  </code></pre>
  
  <p>But this path is not pointing to my image, Even there is no any image in Documents folder.</p>
  
  <p>Can anyone help me on this?</p>