I saw this question here: UIImagePicker allowsEditing stuck in center
It seems someone had this problem before, but there's no clear resolution.
Reproduction steps:
- Set allowsEditing = YES
- Take a picture
- Crop window comes up, but everytime I pan the image, it just snaps back to the center.
I'm on iOS 7.0.3.
Here's my code:
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.delegate = self;
imagePicker.modalPresentationStyle = UIModalPresentationCurrentContext;
imagePicker.allowsEditing = YES;
[self presentViewController:imagePicker animated:YES completion:nil];