I am trying to save a photo with a button to camera roll after user capture a picture with Camera , but I don\'t know why my picture doesn\'t save at photo library !!
First make sure you are calling savePhoto. Then you can add an assertion to check that the image is not nil:
savePhoto
- (IBAction) savePhoto { NSParameterAssert(img.image); UIImageWriteToSavedPhotosAlbum(img.image, nil, nil, nil); }