After picking an image from UIImagePickerController
, I am trying to pass that imageView as a source to QuickLook
preview which requires URL as a data source.
I am not interested to write the image into any document storage to create a URL, which will create a copy image again in the disk.
Note: I am using a scanner SDK where it will return a UIImage as a result, so i need to use that UIImage for QuickLook preview.
Any suggestion to achieve this?