---
title: aspectRatio
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/progressiveimmersionstyle/aspectratio
---

# aspectRatio

The aspect ratio used for this instance of the style.

## Declaration

```swift
let aspectRatio: ProgressiveImmersionAspectRatio
```

## Discussion

Discussion The value controls the aspect ratio of the ImmersiveSpace portal. If this value is automatic or nil, a system default will be used instead.
