Instance Property

videoGravity

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

Declaration

var videoGravity: AVLayerVideoGravity { get set }

Discussion

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.