videoGravity
A string that specifies how the video displays within the bounds of the view controller’s view.
Declaration
var videoGravity: AVLayerVideoGravity { get set }Discussion
The player view controller supports the following video gravity values: resizeAspect, resizeAspectFill, and resize.
The default value is resizeAspect.