---
title: SKSceneScaleMode.aspectFill
framework: spritekit
role: symbol
role_heading: Case
path: spritekit/skscenescalemode/aspectfill
---

# SKSceneScaleMode.aspectFill

The scaling factor of each dimension is calculated and the larger of the two is chosen. Each axis of the scene is scaled by the same scaling factor. This guarantees that the entire area of the view is filled but may cause parts of the scene to be cropped.

## Declaration

```swift
case aspectFill
```

## See Also

### Constants

- [SKSceneScaleMode.fill](spritekit/skscenescalemode/fill.md)
- [SKSceneScaleMode.aspectFit](spritekit/skscenescalemode/aspectfit.md)
- [SKSceneScaleMode.resizeFill](spritekit/skscenescalemode/resizefill.md)
