title: Adding square overlay over camera preview
body: <p>I am trying to make a barcode scanner where the camera preview has a square overlay over it as like many of the barcode scanning apps where the outer view is lightly blurred. I am unable to find a solution for adding such overlay. I have used the AVFoundation Framework and my camera is using whole screen, I want to add the overlay in the center of the screen.</p>