Value of type 'Image' has no member 'uimage'
Closed this issue · 3 comments
cwestMobile commented
let lightboxImages = images.flatMap { $0.uimage(ofSize: UIScreen.main.bounds.size)}.map({ LightboxImage(image: $0 )})
This line has the following error in your demo project: Value of type 'Image' has no member 'uimage'
Please post a fix/idea for fix. Thanks.
onmyway133 commented
@cwestMobile Hi, you should use the uiImage
function on Image
, as that will fetch UIImage
from PHImageManager
synchronously
cwestMobile commented
Can you provide a code sample of this at all?
petekeller2 commented
You would now use resolve. There is a sample of this in the example.