How to skip 'retake and use' option after captureing photo from camera or how to change font and color of these buttons.
We have used following code
self.gimgPicker = [[GKImagePicker alloc] init];
self.gimgPicker.cropSize = CGSizeMake(310, 310);
self.gimgPicker.delegate = self;
self.gimgPicker.desiredSize = CGSizeMake(640, 640);
imgPicker = [[UIImagePickerController alloc] init];
// Set type to Photo Library if button at index is selected
if ([UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypeCamera]) {
self.gimgPicker.imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera;
[parentController presentModalViewController:self.gimgPicker.imagePickerController animated:YES];
}
this view is brought to you by showsCameraControls property of UIImagePickerController
class
If you set it to NO
you won't see that screen, but you will have to provide camera controls.
Your alternative is to use AVFoundation which will give you full flexibility on how it looks and performs. Although it will take a bit more time to setup, it will pay-off in the long run.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With