videoGravity
A value that determines how the player view displays video content within its bounds.
Declaration
var videoGravity: AVLayerVideoGravity { get set }Discussion
The video gravity determines how the player view scales or stretches the video content within the player view’s bounds. The player view supports the following video gravity values:
The default value is resizeAspect.
This property is animatable.