I am exploring Appi-Intent and Appshortcut. We can create an action shortcut by using the following code.
https://developer.apple.com/videos/play/wwdc2023/10102/
struct WatchListShortcut: AppShortcutsProvider {
static var appShortcuts: [AppShortcut] {
AppShortcut(
intent: WatchListAppIntent(),
phrases: [
"Tell (.applicationName) to open first item in watch list",
],
shortTitle: "WatchList item",
systemImageName: "systemimage"
)
}
}
What I want to show an entity shortcut like shown in the below screenshot.
I am not sure how to create the shortcut like Assigned one in the above screen.
Right now the AppShortcut only accepts systemImage how can I use custom image?