Hello,
I am working on a small app to easily create time relative reminders. Meaning I can quickly create reminder that will remind me about something after 45 minutes from now..
I want to add configurable shortcuts, so users can use this app via Siri and the Shortcuts app.
I have created the Intents.intentdefinition file and it's (so far one) shortcut correctly displays in the Shortcuts app with the parametrs.
But I am unsure how should I now handle it? Some tutorials and docs mention the delegate methods in SceneDelegate while others point to Intents Extension which is supposed to handle the shortcut?
This shortcut what I want does not need more user interaction than just providing the two input parameters.
So the simplest way to handle that would be nice.
Ideally if that work could happen in background without opening my app? Because after the reminder is added, there is nothing to do in my app. Is that possible?
I am working on a small app to easily create time relative reminders. Meaning I can quickly create reminder that will remind me about something after 45 minutes from now..
I want to add configurable shortcuts, so users can use this app via Siri and the Shortcuts app.
I have created the Intents.intentdefinition file and it's (so far one) shortcut correctly displays in the Shortcuts app with the parametrs.
But I am unsure how should I now handle it? Some tutorials and docs mention the delegate methods in SceneDelegate while others point to Intents Extension which is supposed to handle the shortcut?
Code Block swift override func restoreUserActivityState(_ activity: NSUserActivity) { }
This shortcut what I want does not need more user interaction than just providing the two input parameters.
So the simplest way to handle that would be nice.
Ideally if that work could happen in background without opening my app? Because after the reminder is added, there is nothing to do in my app. Is that possible?