Contents

isFocused

Returns whether the nearest focusable ancestor has focus.

Declaration

var isFocused: Bool { get }

Discussion

If there is no focusable ancestor, the value is false.

See Also

Managing focus state