Contents

AVVideoScalingModeFit

The string identifier for scaling a video to fit the surrounding view’s dimensions.

Declaration

let AVVideoScalingModeFit: String

Discussion

This mode crops the video to remove the edge processing region, preserving the aspect ratio of the cropped source by reducing the specified width or height, if necessary. It doesn’t scale a small source up to larger dimensions.

See Also

Scaling mode