Post

Replies

Boosts

Views

Activity

Reply to Some of my AppShortcut phrases work, but some launch Safari?
Have you had any luck here? I'm running into similarly issues. AppShortcut(intent: AskClipDish(), phrases: [ "Ask \(.applicationName) a question", "Ask \(.applicationName) for help", "Ask \(.applicationName)", "Tell \(.applicationName) \(\.$questionForClipDish)" ]) When I trigger with Ask ClipDish, I'm prompted to choose between Messages and ClipDish With I trigger with Tell ClipDish question, Safari opens.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’23
Reply to App Intents don't show on device, while they do in the simulator
Does you physical device have Shortcuts app installed? I noticed that if you remove the Shortcuts app that it seems like the App Intent doesn't get registered.
Replies
Boosts
Views
Activity
Apr ’23
Reply to AppShortcutsProvider pharses not recognizable by Siri
I believe you need to include your application name in the phrase. That was what seemed to fix it for me. Try this: AppShortcut(intent: ShowTodayTasks(), phrases:["Show today tasks in \(.applicationName)", "Show my tasks today in \(.applicationName)"])
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to Some of my AppShortcut phrases work, but some launch Safari?
Have you had any luck here? I'm running into similarly issues. AppShortcut(intent: AskClipDish(), phrases: [ "Ask \(.applicationName) a question", "Ask \(.applicationName) for help", "Ask \(.applicationName)", "Tell \(.applicationName) \(\.$questionForClipDish)" ]) When I trigger with Ask ClipDish, I'm prompted to choose between Messages and ClipDish With I trigger with Tell ClipDish question, Safari opens.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to Excluding activity types for UIActivityViewController: some are still present
Except that's not 100% accurate. That is the behavior in iOS. However, you can exclude 3rd party extension activities when you build for macOS (built for iPad) or Catalyst.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’21