I want to get UIImage from Asset Library Url
I'm an developing app in xamarin ios, trying to get a UIImage Object from a given Asset-Library-Url.
Picked multiple images from gallery using ELCImagePickerViewController. All image paths are added in string array list.
Now i need to get all the images in Byte using the Asset-Library-Url path.
The given Url is: assets-library://asset/asset.JPG?id=0E126068-14F9-431F-91B5-8BC397727656&ext=JPG
I tried it with the following approach :
static UIImage FromUrl(string uri)
using (var url = new NSUrl(uri))
using (var data = NSData.FromUrl(url))
But it always returns null.
Can anybody please tell me what i'm doing wrong here?