Instance Property

discoverabilityTitle

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

Declaration

@property(nonatomic, copy) NSString *discoverabilityTitle;

Discussion

The system uses this property to display information about the command. In iOS, the system displays this title in the discoverability heads-up display (HUD). If this property is nil, the HUD displays the title property.

For iPad apps running in macOS, the system displays the discoverability title as a tooltip.

See Also

Getting Information About the Key Command

title

The key command's title.

image

The key command's image.

input

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

action

The command's action-method selector.

modifierFlags

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

attributes

The attributes indicating the style of the key command.

state

The state of the key command.