hasFocus The property that determines whether the element has UI focus. Declarationvar hasFocus: Bool { get } See AlsoInteraction stateisEnabledisSelected