---
title: preferHDR
framework: Photos
role: symbol
role_heading: Instance Property
platforms: [iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+, macOS 14.0+, tvOS 17.0+, visionOS 1.0+]
path: photos/phlivephotorequestoptions/preferhdr
---

# preferHDR

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

## Declaration

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

## Discussion

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.
