Я пытаюсь создать UIImage из метода ALAssetsGroup#posterImage. В Objective-C я мог просто вызвать [UIImage imageWithCGImage:group.posterImage], но в Swift, UIImage(CGImage: group.posterImage) дает мне ошибку компилятора:
Could not find an overload for 'init' that accepts the supplied arguments
Что я делаю неправильно?