iosobjective-cios12sirishortcuts

How to see what Siri Shortcuts a user has created


I'm creating a Siri Shortcut and have inserted the "Add to Siri" button that one of the WWDC 2018 videos explains and demos. My question is if I can tell when a user has created this specific shortcut which would leave the button useless or even a bug allowing the user to create multiple shortcuts for the same activity/intent.

Is there a way to access the list of shortcuts that the user has created from my app?


Solution

  • You can use INVoiceShortcutCenter getAllVoiceShortcuts