A view controller that guides the user through the steps for adding a shortcut to Siri.
Mac Catalyst 13.0+Beta
When the user performs an action such as placing an order for tomato soup, the app should provide the option to add the action to Siri as a shortcut. To present this option in your app, use INUIAddVoiceShortcutButton to display an Add to Siri button. Using this button makes your app consistent with other apps that support Siri Shortcuts.
After creating the button, assign its action to a method that displays INUIAddVoiceShortcutViewController. This controller steps the user through the process of adding the shortcut to Siri.
A view controller that lets the user edit or remove an existing shortcut.
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.