Reputation: 197
I have added Siri Shortcuts in my app. But to make it actual in work i have to go to settings then in my app i have to go Siri and Search, i have to click on plus to add it, then record a phrase and Done. Instead how can I open Siri Shortcut intent in App to record phrase and configure.
Upvotes: 1
Views: 374
Reputation: 1697
You can accomplish this by using the INUIAddVoiceShortcutButton
and INUIAddVoiceShortcutViewController
APIs. Check out the documentation!
https://developer.apple.com/documentation/sirikit/inuiaddvoiceshortcutbutton https://developer.apple.com/documentation/sirikit/inuiaddvoiceshortcutviewcontroller
Upvotes: 3