<!--
{
  "availability" : [
    "iOS: 10.0.0 - 12.0.0",
    "iPadOS: 10.0.0 - 12.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "tvOS: 10.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIGraphicsImageRendererFormat/prefersExtendedRange",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIGraphicsImageRendererFormat(py)prefersExtendedRange"
  },
  "title" : "prefersExtendedRange"
}
-->

# prefersExtendedRange

A Boolean value that specifies whether the bitmap context uses extended color.

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

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, the underlying Core Graphics context is configured to support wide color; if <doc://com.apple.documentation/documentation/Swift/false>, the context is not.

The default is <doc://com.apple.documentation/documentation/Swift/true> on devices that natively support wide color, and <doc://com.apple.documentation/documentation/Swift/false> on those that do not.

---

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)