isFocused
A Boolean value that indicates whether the item is currently focused.
Declaration
var isFocused: Bool { get }Discussion
This is a convenience property that checks whether the item is equal to the value in the UIScreen class’s focusedView property.