Instance Property

focusedItem

The item that is currently focused.

Declaration

weak var focusedItem: UIFocusItem? { get }

Discussion

If this item is not a view, the focusedView property is set to the view that contains the item.

See Also

Handling Focus Change on the Screen

var focusedView: UIView?

The view that is currently focused.

var supportsFocus: Bool

A Boolean value that indicates whether the screen supports focus-based inputs.