I am trying to use the square image displayed on the preview screen of the UIImagePickerController but the image always come out pushed down slightly.
See the following pictures.
I have imgPicker.allowsEditing = YES, and here is the code once the image is selected.
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
UIImage *imageEdited = [info objectForKey:UIImagePickerControllerEditedImage];
self.imgView.image = imageEdited;
[picker dismissViewControllerAnimated:YES completion:nil];
The imgView has dimension of 320x320.
I also have a same problem.. i over come through, hidden the navigation bar.. can you try this??