<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/kCVPixelBufferIOSurfaceCoreAnimationCompatibilityKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@kCVPixelBufferIOSurfaceCoreAnimationCompatibilityKey"
  },
  "title" : "kCVPixelBufferIOSurfaceCoreAnimationCompatibilityKey"
}
-->

# kCVPixelBufferIOSurfaceCoreAnimationCompatibilityKey

A key to a Boolean value that indicates whether Core Animation can display the pixel buffer.

```
let kCVPixelBufferIOSurfaceCoreAnimationCompatibilityKey: CFString
```

## Discussion

The value for this key is of type <doc://com.apple.documentation/documentation/CoreFoundation/CFBoolean>. You can use this key instead of explicit pixel format keys. When you use this key with other media frameworks, <doc://com.apple.documentation/documentation/VideoToolbox> chooses the best pixel format for Core Animation to use.

---

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)