<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHLivePhotoRequestOptions/preferHDR",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHLivePhotoRequestOptions(py)preferHDR"
  },
  "title" : "preferHDR"
}
-->

# preferHDR

Request HDR image data if available (such as PQ/HLG formats).

```
var preferHDR: Bool { get set }
```

## Discussion

Off by default. For best results, only enable this when you intend to display an HDR experience in
`PHLivePhotoView` — for example, when the view’s `preferredImageDynamicRange` is greater than
standard (SDR).
Defaults to `NO`.

---

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)