Instance Property


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


var suggestedInvocationPhrase: String? { get set }


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

var isEligibleForPrediction: Bool

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