AVVideoScalingModeResizeAspect
The string identifier for resizing a video to its surrounding view’s shorter dimension while preserving its aspect ratio.
Declaration
let AVVideoScalingModeResizeAspect: StringDiscussion
This mode preserves the aspect ratio of the source and fills the remaining areas with black to fit the destination dimensions.