Reputation: 93
I want to save an image to camera roll with my own imagename in ios 5.I am using AV Foundation for accessing camera features.Please help me with possible solutions.
Upvotes: 1
Views: 53
Reputation: 29064
// Image to save
UIImage *img = [UIImage imageNamed:@"ImageName.png"];
// Request to save the image to camera roll
UIImageWriteToSavedPhotosAlbum(img, self,
@selector(image:didFinishSavingWithError:contextInfo:), nil);
Hope this helps..
Upvotes: 0