Contents

videoGravity

A string value that defines how the capture view displays video within its bounds.

Declaration

var videoGravity: AVLayerVideoGravity { get set }

Discussion

See AVLayerVideoGravity for supported values. The default value is resizeAspect.

See Also

Customizing the View