<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CAMetalLayer/displaySyncEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CAMetalLayer(py)displaySyncEnabled"
  },
  "title" : "displaySyncEnabled"
}
-->

# displaySyncEnabled

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

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

## Discussion

Set this value to <doc://com.apple.documentation/documentation/Swift/true> to synchronize the presentation of the layer’s contents with the display’s refresh, also known as *vsync* or *vertical sync*. If <doc://com.apple.documentation/documentation/Swift/false>, the layer presents new content more quickly, but possibly with brief visual artifacts (*screen tearing*).

The default value is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)