<!--
{
  "availability" : [
    "iOS: 14.0.0 - 27.0.0",
    "iPadOS: 14.0.0 - 27.0.0",
    "macCatalyst: 14.0.0 - 27.0.0",
    "macOS: 11.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetDownloadTaskPrefersHDRKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@AVAssetDownloadTaskPrefersHDRKey"
  },
  "title" : "AVAssetDownloadTaskPrefersHDRKey"
}
-->

# AVAssetDownloadTaskPrefersHDRKey

A key that indicates whether the task downloads HDR instead of SDR video, when available.

```
let AVAssetDownloadTaskPrefersHDRKey: String
```

## Discussion

By default, a download task prefers downloading HDR content. Provide a Boolean value of <doc://com.apple.documentation/documentation/Swift/false> to change this behavior.

---

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)