<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/WorldScalingBehavior/dynamic",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20WorldScalingBehaviorV7dynamicACvpZ"
  },
  "title" : "dynamic"
}
-->

# dynamic

The window will scale up as it moves further away, maintaining the same
angular size.

```
static var dynamic: WorldScalingBehavior { get }
```

## Discussion

Prefer dynamic window scaling for windows that display dense UI or a lot
of text. Using dynamic scaling ensures that controls and text remain at
a comfortable size regardless of the window’s position.

For further information, see
<doc://com.apple.documentation/design/Human-Interface-Guidelines/spatial-layout>
in the Human Interface Guidelines.

---

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)