UIImagePicker disables camera zoom

I add an overlay with UIGestures on top of the UIImagePicker camera view, and I need to turn off the camera zoom because it works when I increase or decrease the overlay with a pinch, especially when the user enlarges the overlay image too much. I cannot find information on how to prevent this behavior. If this is not possible for UIImagePicker, do I need to switch to AVCaptureSession?

+4
source share
1 answer

I realized this finally using [ImagePickerController.view addSubView: myOverlayView] instead of ImagePickerController.overlayView = myoverlayView. Hope this helps.

+8
source

All Articles