An object that exposes nonview areas as focusable.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
As a subclass of
UILayout, a focus guide is not a view and does not define a new view or participate in the view hierarchy at all, except as an Auto Layout guide. Unlike
UIFocus represents an invisible, focusable region that can redirect focus movement to other views. The
UIFocus header file, including its related classes and its protocol, creates a single high-level software interface for controlling focus in apps that use focus-based input. This programming interface also helps to control focus behavior on the screen.