---
title: presentsWithTransaction
framework: metalkit
role: symbol
role_heading: Instance Property
path: metalkit/mtkview/presentswithtransaction
---

# presentsWithTransaction

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

## Declaration

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

## Discussion

Discussion This property mirrors the value on the underlying 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 presentsWithTransaction.

## See Also

### Configuring Drawing Behavior

- [preferredFramesPerSecond](metalkit/mtkview/preferredframespersecond.md)
- [isPaused](metalkit/mtkview/ispaused.md)
- [enableSetNeedsDisplay](metalkit/mtkview/enablesetneedsdisplay.md)
- [draw()](metalkit/mtkview/draw().md)
