cameraOverlayView blocks camera buttons

Discussion in 'iOS Programming' started by spaceman816, Jul 22, 2010.

  1. macrumors member

    Joined:
    Jul 29, 2009
    #1
    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?

    Thanks.
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    You can't move the buttons. What you should be able to do is override pointInside:withEvent: in your overlay UIView to not consume the touch events where you want them to pass through.
     

Share This Page