I'm trying to create a UIImage
from the ALAssetsGroup#posterImage
method. In Objective-C, I could simply call [UIImage imageWithCGImage:group.posterImage]
but in Swift, UIImage(CGImage: group.posterImage)
gives me a compiler error:
Could not find an overload for 'init' that accepts the supplied arguments
What am I doing wrong?