---
title: AVVideoScalingModeResizeAspect
framework: avfoundation
role: symbol
role_heading: Global Variable
path: avfoundation/avvideoscalingmoderesizeaspect
---

# AVVideoScalingModeResizeAspect

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

## Declaration

```swift
let AVVideoScalingModeResizeAspect: String
```

## Discussion

Discussion This mode preserves the aspect ratio of the source and fills the remaining areas with black to fit the destination dimensions.

## See Also

### Scaling mode

- [AVVideoScalingModeFit](avfoundation/avvideoscalingmodefit.md)
- [AVVideoScalingModeKey](avfoundation/avvideoscalingmodekey.md)
- [AVVideoScalingModeResize](avfoundation/avvideoscalingmoderesize.md)
- [AVVideoScalingModeResizeAspectFill](avfoundation/avvideoscalingmoderesizeaspectfill.md)
