Class

INShortcut

An object representing an action available in your app that the system may suggest to a user or a user may add to Siri.

Declaration

@interface INShortcut : NSObject

Topics

Creating a Shortcut

- initWithIntent:

Initializes a shortcut with the specified intent.

- initWithUserActivity:

Initializes a shortcut with the specified user activity.

Getting the Intent

intent

The intent that performs the action when invoking the shortcut.

Getting the User Activity

userActivity

The user activity that defines the action to perform when invoking the shortcut.

Relationships

Inherits From

See Also

Shortcuts

Adding User Interactivity with Siri Shortcuts and the Shortcuts App

Add custom intents and parameters to help users interact more quickly and effectively with Siri and the Shortcuts app.

Donating Shortcuts

Tell Siri about shortcuts to actions that the user performed in your app.

Deleting Donated Shortcuts

Remove your donations from Siri.

Soup Chef: Accelerating App Interactions with Shortcuts

Make it easy for people to use Siri with your app by providing shortcuts to your app’s actions.

Shortcut Management

Enable users to add shortcuts to Siri, and have your app suggest shortcuts to users.

Relevant Shortcuts

Display shortcuts on the Siri watch face.

INObject

An object that represents a custom intent parameter.

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