lets say I have a CGImage and want to store it in the Photos app that comes standard with every iPod Touch/iPhone how would I do this?
Asked
Active
Viewed 195 times
1 Answers
0
First convert the CGImage
to a UIImage
:
UIImage *_myImage = [UIImage imageWithCGImage:cgImage];
And then use the UIImageWriteToSavedPhotosAlbum()
function:
UIImageWriteToSavedPhotosAlbum(UIImage *image, id completionTarget, SEL completionSelector, void *contextInfo);
to write the UIImage
to the Photo Album.

Alex Reynolds
- 95,983
- 54
- 240
- 345