cropRect
Indicates the bounding rectangle of the screen area to be captured, in pixels.
Declaration
var cropRect: CGRect { get set }Discussion
By default, AVCaptureScreenInput captures the entire area of the displayID with which it is associated.
Set the value of this property to limit the capture rectangle to a subsection of the screen.
The rectangle should define a smaller section of the screen in the screen’s coordinate system. The origin (0,0) is the bottom-left corner of the screen.