Instance Property

suggestedInvocationPhrase

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

Declaration

var suggestedInvocationPhrase: String? { get set }

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

var isEligibleForPrediction: Bool

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software