In order to make my custom toolbar in my UIImagePickerControllerSourceTypeCamera, I have to turn off the camera control like this:
pickerOne.showsCameraControls = YES;
I want to show the zoom, flash, switch cameras, and focus on the UIImagePickerController, but I want to create my custom view. When adding my custom view, it only shows up if I turn off the cameraControls.
Is there any way to not hide the camera controls and make my custom view? Or will I have to manually add those buttons in?
You can ignore the touches on your overlayview by checking the receiving view in the hittest method. Just add this code to your overlay view, than all touches on that view will be ignored, but not the ones on its subviews.
If read this today on stackoverflow, but i don’t remember where, sry.