Global Variable

AVLayerVideoGravityResizeAspect

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

Declaration

const AVLayerVideoGravity AVLayerVideoGravityResizeAspect;

See Also

Video Gravity Options

AVLayerVideoGravityResize

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

AVLayerVideoGravityResizeAspectFill

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