title: Camera Overlay View on Just Capture Section
body: <p>I am trying to add a <code>cameraOverlayView</code> on a <code>UIImagePickerController</code>, but I want the overlay to cover just the part of the screen that shows what will be captured by the camera, not the "Cancel" button, take photo button, flash settings, or anything like that. How can I dynamically determine what the frame of the <code>UIImageView</code> of my overlay should be?</p>
  
  <p>I've attached an image to illustrate exactly the section I'm talking about.</p>
  
  <p><img src="https://i.stack.imgur.com/kpLJz.jpg" alt="enter image description here"></p>