Обратитесь к определению этого метода ниже, убедитесь, что ваш CGImage принадлежит к классу CGImageRef.
imageWithCGImage:[image CGImage]
+ (UIImage *) imageWithCGImage: (CGImageRef) imageRef scale: (CGFloat) масштабная ориентация: (UIImageOrientation) ориентация
После трех строк приведены некоторые инициализации перед вызовом метода.
CIContext * context = [CIContext contextWithOptions:nil]; //your choice
CIImage * OriginalImage = [CIImage imageWithContentsOfURL:fileNameAndPath]; //your own choice of source image file.
CGImageRef CGImage = [context createCGImage:OriginalImage fromRect:(CGRect)];
UIImage *newImage = [UIImage imageWithCGImage:CGImage scale:1.0 orientation:UIImageOrientationLeft]
Надеюсь, это поможет.