Contents

UIFocusUpdateContext

An object that provides information relevant to a specific focus update from one view to another.

Declaration

@MainActor class UIFocusUpdateContext

Overview

Focus update context objects are ephemeral and are usually discarded after the update is finished. The UIFocus APIs create a single high-level software interface for controlling focus in apps that use focus-based input.

Topics

Locating focus direction

Getting related focus items

Responding to focus-related keys and notifications

See Also

Focus interactions