title: Record overlay at the same time AVFoundation iOS
body: <p>I have now fully setup the ability to record video using the <code>AVFoundation</code> framework and this is all fine but now I am looking to add an overlay during the record (also visible on the <code>AVCaptureVideoPreviewLayer</code> Layer)</p>
  
  <p>I can add this overlay <code>UIView</code> object to the VideoPreviewLayer but I am struggling how to get the same view to be on the recorded video.This <code>UIView</code> could contain anything from <code>UILabel</code>s to <code>UIImageView</code>s.</p>