Global Variable

AVLayerVideoGravityResizeAspectFill

The player should preserve the video’s aspect ratio and fill the layer’s bounds.

Declaration

const AVLayerVideoGravity AVLayerVideoGravityResizeAspectFill;

See Also

Video Gravity Options

AVLayerVideoGravityResize

The video should be stretched to fill the layer’s bounds.

AVLayerVideoGravityResizeAspect

The player should preserve the video’s aspect ratio and fit the video within the layer’s bounds.