<!--
{
  "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/AVCapturePhotoSettings/isConstantColorEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhotoSettings(py)constantColorEnabled"
  },
  "title" : "isConstantColorEnabled"
}
-->

# isConstantColorEnabled

A Boolean value that indicates whether to capture the photo with constant color.

```
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 capture a constant color photo.

> Important:
> Attempting to enable constant color capture when a photo output’s ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCapturePhotoOutput/isConstantColorEnabled`` is <doc://com.apple.documentation/documentation/Swift/false>, results in the system throwing an exception.

---

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)