Instance Property


A string defining how the video is displayed within the views bounds rect.


var videoGravity: AVLayerVideoGravity { get set }


See Video Gravity for the possible values. The default value is resizeAspect.

See Also

Configuring View Attributes

var controlsStyle: AVCaptureViewControlsStyle

The style of the capture controls pane associated with the view.

enum AVCaptureViewControlsStyle

Constants that describe the controls media recording associated with the view.