title: Adding overlay to custom UIImagePickerController?
body: <p>I have extended the UIImagePickerController, but I am not sure the how to have my custom overlay displayed. The one presented in the storyboard appears to be ignored and the adding it as a separate view doesn't seem to help either. I am wondering whether I am doing this in the right part of the lifecycle or whether there is an additional attribute I need to set?</p>
  
  <pre><code>class VideoRecorderViewController: UIImagePickerController {
      var overlayView : UIView?
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          self.mediaTypes = [kUTTypeMovie as String]
          self.sourceType = .Camera
          self.cameraCaptureMode = .Video
  
          self.allowsEditing = false
          self.delegate = delegate
          self.showsCameraControls = false
          self.overlayView = (NSBundle.mainBundle().loadNibNamed("RecorderOverlayView", owner: self, options: nil)[0] as! UIView)
  
          if (self.overlayView != nil) {
  
              self.overlayView?.frame = self.cameraOverlayView!.frame
              self.cameraOverlayView = self.overlayView;            
          } 
      }    
  }
  </code></pre>
  
  <p>Other examples, which do work, have the UIImagePickerController created from another UIView, but I would rather avoid an otherwise empty UIView for simply creating the UIImagePickerController.</p>
  
  <p>Using Swift 2</p>