videoGravity
A value that specifies how the layer displays the player’s visual content within the layer’s bounds.
Declaration
var videoGravity: AVLayerVideoGravity { get set }Discussion
A player layer supports the following video gravity values:
The default value is resizeAspect.
This property is animatable.