---
title: displaySyncEnabled
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/cametallayer/displaysyncenabled
---

# displaySyncEnabled

A Boolean value that determines whether the layer synchronizes its updates to the display’s refresh rate.

## Declaration

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

## Discussion

Discussion Set this value to true to synchronize the presentation of the layer’s contents with the display’s refresh, also known as vsync or vertical sync. If false, the layer presents new content more quickly, but possibly with brief visual artifacts (screen tearing). The default value is true.

## See Also

### Configuring Presentation Behavior

- [presentsWithTransaction](quartzcore/cametallayer/presentswithtransaction.md)
