Editing a photo after deleting it (moving and scaling) works fine in my application with this line:
[imagePicker setAllowsEditing:YES]
But if I also use cameraOverlayView, the editing mode no longer works. A screen appears, but gestures and gestures do nothing.
I use your average image selection controller:
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
And I add a camera overlay view created from a custom view controller view:
CameraOverlayViewController *overlayController = [[CameraOverlayViewController alloc] init]; UIView *overlayView = overlayController.view; [imagePicker setCameraOverlayView:overlayView];
In IB, this view is configured to enable user interaction and multiple touch, which allows him to scale and focus when shooting. But as soon as the image is taken and it enters the editing mode, you cannot pan or pin to move or zoom the photo.
What am I missing?
ios camera uiimagepickercontroller editing camera-overlay
Steve cotner
source share