I have an UIImagePickerController with my own camera overlay. In that overlay I have a button that the user can press to take a photo.
Currently, I have an IBAction on “Touch Up Inside” that will take a picture. self.imagePickerController is my reference to UIImagePickerController
- (IBAction)onSnapClicked:(id)sender {
[self.imagePickerController takePicture];
}
My problem is that, in the callback method. The image that I get back is always blurry. Please help
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
// Get the original image
UIImage *originalImage = [info objectForKey:@"UIImagePickerControllerOriginalImage"];
}
They are the same quality. You might have created a lag somewhere thus gives you the false sense of finish taking picture, while it is actually capturing.
Unless your button allows touch through. In that case, the camera always try to focus that part of your picture. You have to prevent that from happening. How to do that, look into my answer on this question : Exlusive touch in cameraoverlay view (of the camerapicker) in iOS?