Instance Property

displaySyncEnabled

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

Declaration

@property BOOL displaySyncEnabled;

Discussion

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

The default value is YES.

See Also

Configuring Presentation Behavior

presentsWithTransaction

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