Instance Method


Suggest shortcuts the user may want to add to Siri.


func setShortcutSuggestions(_ suggestions: [INShortcut])



A list of suggested shortcuts that the Settings app shows to the user in the Siri & Search section.


To replace the list of shortcut suggestions, call setShortcutSuggestions(_:), passing in a new list of suggestions. To remove suggestions made by your app, call the same method, passing in an empty array. For more information, see Suggesting Shortcuts to Users.

See Also

Setting Suggested Shortcuts

class INShortcutReference

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