UIImagePickerController - crops picture to square (in portrait) UIImagePickerController - crops picture to square (in portrait) xcode xcode

UIImagePickerController - crops picture to square (in portrait)


Check out GKImagePicker library, it allows to set your custom image crop area, like this:

self.imagePicker = [[GKImagePicker alloc] init];self.imagePicker.cropSize = CGSizeMake(320, 90);self.imagePicker.delegate = self;[self presentModalViewController:self.imagePicker.imagePickerController animated:YES];


I know its really late to answer this question, But someone may find this helpful.

Change

[imagePicker setAllowsEditing:YES]; 

To

[imagePicker setAllowsEditing:NO];

Thanks,Jay


You can provide a custom cropping UI, but there is no way to change just the cropping rectangle of the standard one.

This link might help with that.