Instance Property

modifierFlags

The bit mask of modifier flags that must be pressed to match this key command.

Declaration

var modifierFlags: UIKeyModifierFlags { get }

See Also

Getting Information About the Key Command

var title: String

The key command's title.

var image: UIImage?

The key command's image.

var input: String?

The string of characters corresponding to the keys that must be pressed to match this key command.

var action: Selector?

The command's action-method selector.

var discoverabilityTitle: String?

An elaborated title that explains the purpose of the key command.

var attributes: UIMenuElement.Attributes

The attributes indicating the style of the key command.

var state: UIMenuElement.State

The state of the key command.