-1

Possible Duplicate:
How to save picture to iPhone photo library?

I want to know about iPhone photo album and also how to save the particular image to the iPhone photo album with the button click event.

In my view having only one image view in that imageview one image is there. I want save that particular image to the iphone photo album programmatically how can I do this?

Community
  • 1
  • 1
Varshu
  • 64
  • 10

1 Answers1

0

See the answers to this previously asked question. See the reference for UIImageWriteToSavedPhotosAlbum.

Community
  • 1
  • 1
DarkDust
  • 90,870
  • 19
  • 190
  • 224
  • UIImageWriteToSavedPhotosAlbum(appDelegate.PreviewimageView.image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil); while i'm giving like above the photo had stored in photo album but app get terminated ...what should i do to solve this issue.. – Varshu Dec 15 '10 at 10:13
  • @Mano Ammu: Post the exact error message from the debug console. Do you actually have a `image:didFinishSavingWithError:contextInfo:` method on `self` ? – DarkDust Dec 15 '10 at 10:25