What is UIUPdateLink

Generated on 8/22/2024

1 search

UIUpdateLink is a new feature introduced in iOS 18, as part of the UIKit framework enhancements. It is designed to simplify the implementation of complex animations that require periodic UI updates. If you have used CA DisplayLink before, UIUpdateLink will be familiar, but it offers additional features such as automatic view tracking. This means the link automatically adjusts to the display that the view is on, and it can also enable a low latency mode for drawing applications, improving performance and battery efficiency.

UIUpdateLink activates automatically when the view is added to a visible window and deactivates when the view is removed. It can be configured to fire continuously or only when driven by other updates, such as gestures or layer changes. This makes it particularly useful for animations and other UI updates that need to be synchronized with the display refresh rate.

For more detailed information, you can refer to the What’s new in UIKit session at WWDC 2024.