I refer to having the App Intents looking like these widgets inside the Shortcuts app. Is that possible or only reserved for Apple apps?
I thought it would be enough adding a shortTitle and systemImageName for the AppShortcuts returned in the AppShortcutsProvider but all I get are separate cards for each entry instead of the widget-like section.

You need to create an AppShortcutProvider for you intent. Providing a short title and systemImage will provide the image
For Example
struct TaskAppShortcutProvider: AppShortcutsProvider {
static var appShortcuts: [AppShortcut] = [
AppShortcut(intent: MarkTaskCompleteIntent(),
phrases: ["Complete Tasks in \(.applicationName)"],
shortTitle: "Complete Task",
systemImageName: "checkmark"),
AppShortcut(intent: AddTaskIntent(), phrases: ["Add task to \(.applicationName)"], shortTitle: "Add Task", systemImageName: "plus")
]
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With