Global Variable

AVVideoScalingModeResizeAspectFill

The string identifier for resizing a video to fit the surrounding view's longer dimension while preserving aspect ratio.

Declaration

let AVVideoScalingModeResizeAspectFill: String

Discussion

This mode crops the video to fit the destination dimensions, preserving the aspect ratio of the source video.

See Also

Scaling Mode

let AVVideoScalingModeFit: String

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

let AVVideoScalingModeKey: String

A key to retrieve the video scaling mode from a dictionary.

let AVVideoScalingModeResize: String

The string identifier for resizing a video to fit the surrounding view's dimensions.

let AVVideoScalingModeResizeAspect: String

The string identifier for resizing a video to its surrounding view's shorter dimension while preserving its aspect ratio.