2

I would like to use QLPreviewController to display an image that was previously selected from the library using UIImagePickerController. I can get its url like this:

let url = info[UIImagePickerControllerReferenceURL] as! URL

This url starts with: assets-library://.

But when I display it in QLPreviewController it only shows a text like JPEG Photo, and not the actual image. Can this be done somehow?

Mannopson
  • 2,634
  • 1
  • 16
  • 32
Damian Dudycz
  • 2,622
  • 19
  • 38

0 Answers0