<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhotoOutput/isConstantColorEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhotoOutput(py)constantColorEnabled"
  },
  "title" : "isConstantColorEnabled"
}
-->

# isConstantColorEnabled

A Boolean value that indicates whether the photo output configures the render pipeline to perform constant color capture.

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

## Discussion

The default value is <doc://com.apple.documentation/documentation/Swift/false>. Set the value to <doc://com.apple.documentation/documentation/Swift/true> to enable support for taking constant color photos. You can only enable constant color capture if the value of [`isConstantColorSupported`](/documentation/AVFoundation/AVCapturePhotoOutput/isConstantColorSupported) is <doc://com.apple.documentation/documentation/Swift/true>.

> Note:
> Enabling constant color requires a lengthy reconfiguration of the capture pipeline. If you intend to capture constant color photos, set this property to <doc://com.apple.documentation/documentation/Swift/true> before calling ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptureSession/startRunning()``, or within ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptureSession/beginConfiguration()`` and ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptureSession/commitConfiguration()`` calls on a running capture session.

---

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)