Save image with my own custom image in ios

54 views Asked by At

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.

1

There are 1 answers

0
lakshmen On
// 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..