Contents

isPerformingLowLatencyPhases

A Boolean value that indicates whether the UI update is in the low-latency phases.

Declaration

var isPerformingLowLatencyPhases: Bool { get }

Discussion

The value of this property is true between the beforeLowLatencyEventDispatch and afterLowLatencyCATransactionCommit UI update phases. Keep any code you run in this part of the UI update as minimal as possible, especially when isImmediatePresentationExpected is true. Defer any processing that isn’t critical for the current UI update until afterLowLatencyCATransactionCommit.

See Also

Working with low-latency updates