---
title: PHImageContentMode.aspectFill
framework: photos
role: symbol
role_heading: Case
path: photos/phimagecontentmode/aspectfill
---

# PHImageContentMode.aspectFill

Scales the image so that it completely fills the target size.

## Declaration

```swift
case aspectFill
```

## Discussion

Discussion Use this option when you want the image to completely fill an area, such as when presenting it in a view with the UIView.ContentMode.scaleAspectFill content mode.

## See Also

### Constants

- [default](photos/phimagecontentmode/default.md)
- [PHImageContentMode.aspectFit](photos/phimagecontentmode/aspectfit.md)
