<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ProgressiveImmersionStyle/aspectRatio",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI25ProgressiveImmersionStyleV11aspectRatioAA0cd6AspectG0Vvp"
  },
  "title" : "aspectRatio"
}
-->

# aspectRatio

The aspect ratio used for this instance of the style.

```
let aspectRatio: ProgressiveImmersionAspectRatio
```

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)