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

# allowedDynamicRange

The allowed dynamic range of the image, or nil to mark that the
dynamic range of the image should be unrestricted. This
property defaults to `sdr`, i.e. HDR content will be tone
mapped to SDR.

```
@MainActor final var allowedDynamicRange: Image.DynamicRange? { get set }
```

---

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)