user1368422
user1368422

Reputation: 93

Save image with my own custom image in ios

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

Answers (1)

lakshmen
lakshmen

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

Related Questions