Reputation: 12854
I am implementing camera function in my app which will take photo. But i can not take fullscreen image. It shows me a rectangle to select the image area.
My source is like :
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.allowsEditing = YES;
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
[self presentViewController:picker animated:YES completion:NULL];
How to take a fullscreen image from camera ?
Upvotes: 0
Views: 156
Reputation: 21
Disable allowsEditing. This puts a rectangle to scale and crop the image.
Upvotes: 1
Reputation: 164
You change below line of code, this code allow the full size image
picker.allowsEditing = NO;
Upvotes: 2