---
title: resizeAspectFill
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avlayervideogravity/resizeaspectfill
---

# resizeAspectFill

The video preserves its aspect ratio and fills the layer’s bounds.

## Declaration

```swift
static let resizeAspectFill: AVLayerVideoGravity
```

## Discussion

Discussion This gravity value may crop the video image along its horizontal or vertical dimension.

## See Also

### Video gravities

- [resize](avfoundation/avlayervideogravity/resize.md)
- [resizeAspect](avfoundation/avlayervideogravity/resizeaspect.md)
