Contents

preferredFocusedView

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

Declaration

weak var preferredFocusedView: UIView? { get set }

Discussion

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’s effectively disabled.

See Also

Enabling focus