Global Variable

AVLayerVideoGravityResize

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

Declaration

const AVLayerVideoGravity AVLayerVideoGravityResize;

See Also

Video Gravity Options

AVLayerVideoGravityResizeAspect

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

AVLayerVideoGravityResizeAspectFill

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