state The state of the key command. Declarationvar state: UIMenuElement.State { get set } See AlsoGetting information about the key commandtitleimageinputactionmodifierFlagsUIKeyModifierFlagsdiscoverabilityTitleattributes