View Full Version : cameraOverlayView blocks camera buttons

Jul 22, 2010, 03:50 PM
I am overlaying an image over my UIImagePickerController and I want to use the default buttons to control flash, cameraDevice (I am testing on an iPhone 4.0).
The buttons remain visible but they can't be pushed. How do I move them above the overlayView?


Jul 23, 2010, 03:22 AM
You can't move the buttons. What you should be able to do is override pointInside:withEvent: (http://developer.apple.com/iphone/library/documentation/uikit/reference/UIView_Class/UIView/UIView.html#//apple_ref/occ/instm/UIView/pointInside:withEvent:) in your overlay UIView to not consume the touch events where you want them to pass through.