Contents

wantsImmediatePresentation

A Boolean value that determines whether the UI update link requests immediate frame presentation.

Declaration

var wantsImmediatePresentation: Bool { get set }

Discussion

By default, the value of this property is false.

When the value of this property is true, the system requests immediate rendering of the display frame after the last CATransaction commit for the current UI update. Opting in to this behavior can help reduce latency between input and display because the rendered display frame presents one frame duration sooner. This behavior is primarily useful for pencil-drawing apps where low input-to-display latency is critical for an optimal user experience.

See Also

Configuring preferences