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

# presentsWithTransaction

A Boolean value that determines whether the view presents its content using a Core Animation transaction.

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

## Discussion

This property mirrors the value on the underlying <doc://com.apple.documentation/documentation/QuartzCore/CAMetalLayer> object, and determines whether the view synchronizes updates to its own contents with other content changes in Core Animation. For more information about how this property affects your rendering code, see <doc://com.apple.documentation/documentation/QuartzCore/CAMetalLayer/presentsWithTransaction>.

---

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)