I\'ve looked around everywhere to no avail. I\'m doing some image loading in a thread and since UIKit is not thread safe I\'m going to have to store the images as CGImageRef
I think the simplest way is to use UIKit and use the CGImage propriety of UIImage.
CGImage
UIImage
Something like that :
UIImage* image = [UIImage imageNamed:@"Your Image.png"]; CGImageRef imageRef = image.CGImage;