Siri Shortcuts: How do I create a UI for the intent parameters of an iOS shortcut?

Viewed 956

I'm trying to create an INIntent to be set up with the new iOS Shortcuts app in iOS 12. I have read the documentation and watched the apple video about it.

I have managed to set everything up and the shortcuts work well, however I can’t seem to figure out how to make customizable options that the user can edit when setting up the shortcut. An example of this would be how the Calendar app’s shortcuts are set up:

Calendar shortcut setup

Notice the options for Get, Add Filter, Sort by, etc..

I know I can add parameters to the intents in the Intents.intentdefeniton file, but those parameters needs to be set from the app itself before the interaction is donated to the iOS system via SiriKit.

Regardless of what I do the Intent just shows up empty without options.

Any help is appreciated!

2 Answers

I am sorry to bring you bad news, but there is no way to do that. The apps that appear there (like Trello, Overcast, Pocket, etc...) were already supported by Workflow.app before Shortcuts.app was released.

You can try to work around it by calling URL Schemes directly but it might not be the solution you are after.

Related