Retrieves all shortcuts added to Siri for your app.
- iOS 12.0+
- Mac Catalyst 13.0+
- watchOS 5.0+
The block invoked on a background thread after the system retrieves the list of shortcuts. This block has no return value and takes the following parameters:
Let users know when an action they perform in your app has an associated shortcut. For example, a user has created a shortcut in the soup-ordering app Soup Chef that allows them to place an order for tomato soup by speaking the phrase "Soup time." The app shows the phrase in the user's order history, reminding them that the shortcut exists and of the phrase to speak in order to invoke the shortcut in Siri.
The app uses the
get method to retrieve the list of shortcuts associated to the app. The list contains shortcuts added to Siri with
INUIAdd and those added by the user in the Settings app.