Instance Property


The view that the focus will be redirected to if this guide is focused.


weak var preferredFocusedView: UIView? { get set }


If the guide is focused, it indirects the focus to this view. This view, or at least one view along its preferredFocusedView chain, must be focusable in order for the guide to be focusable. Otherwise, it is effectively disabled.

See Also

Enabling Focus

var isEnabled: Bool

A Boolean value that indicates whether the guide is focusable.

var preferredFocusEnvironments: [UIFocusEnvironment]!

An array of focus environments to which the guide directs focus, ordered by priority.