Instance Property

suggestedInvocationPhrase

A phrase suggested to the user when they create a shortcut.

Declaration

@property(readwrite, copy, nonatomic) NSString *suggestedInvocationPhrase;

Discussion

The system displays the suggested invocation phrase to the user when they create the shortcut. Use a short, memorable phrase, such as "Soup time".

Figure 1

Example of adding a shortcut with the suggested invocation phrase, "Soup time".

A screenshot of adding a shortcut to Siri for one order of tomato soup.

See Also

Donating to Siri Shortcuts

eligibleForPrediction

A Boolean value that determines whether Siri can suggest the user activity as a shortcut to the user.