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

# accessibilityIgnoresInvertColors

A Boolean value indicating whether the view ignores an accessibility request to invert its colors.

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

## Discussion

Inverting colors is often used to help users with light or color sensitivities to make bright colors darker. However, this behavior can have a destructive impact on images and videos. If inverting the colors would have a negative impact on your view’s content, set this property to <doc://com.apple.documentation/documentation/Swift/true> to prevent it from inverting its colors. Setting the property to <doc://com.apple.documentation/documentation/Swift/true> prevents the system from inverting the colors of the view and all of its subviews.

---

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)