setShortcutSuggestions(_:)
Suggests shortcuts the user may want to add to Siri.
Declaration
func setShortcutSuggestions(_ suggestions: [INShortcut])Parameters
- suggestions:
A list of suggested shortcuts that the Settings app shows to the user in the Siri & Search section.
Mentioned in
Discussion
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 Offering Actions in the Shortcuts App.