Has anyone ever had this problem before? I’m using the UIImagePickerController Camera to take photos with my application, and I noticed the photos are not being stored in the photo library after being taken. I’ve tried it both on iOS5 with the iPhone4 and iOS6 with the iPhone5 and same result. Here is how I’m setting it up:
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera])
{
imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera;
}
imagePickerController.delegate = self;
[self.navigationController presentModalViewController:imagePickerController animated:YES];
[imagePickerController release];
Seems as though the UIImagePickerController should implicitly save a photo that’s taken to the users photo library? Any help would be appreciated thanks.
Try following code.
Pick photo from camera and store it to ImageView and call save method to save it to camera roll.
May this will help