Design great actions for Shortcuts, Siri, and Suggestions

RSS for tag

Discuss the WWDC21 session Design great actions for Shortcuts, Siri, and Suggestions.

View Session

Posts under wwdc21-10283 tag

3 results found
Sort by:
Post not yet marked as solved
574 Views

How to set Siri Voice in AVSpeechSynthesizer

I would like to have access to Siri Voice in AVSpeechSynthesizer to read text in our applications. I checked that it can already be accessed in Voice Over but not in Speech. I don't know if it can already be done in iOS 15. I need your help. Please.
Asked Last updated
.
Post marked as solved
433 Views

How to implement "Add to Siri" new UI on iPadOS 15 ?

The session says that "when someone taps Add to Siri, the shortcut is added instantly, using your suggested invocation phrase". (at 21 min in Video) Now we can see that new UI at iOS 15 beta 2. But on iPadOS 15 beta 2, it looks like unexpected behavior. It looks like INUIEditVoiceShortcutViewController shows in UISplitViewController, but we expect that in UIViewController itself. And when we tap "Back" button, INUIEditVoiceShortcutViewController shows on left side of window. It's Okay when the window has narrow width. This is what i expected. Is there any way to implement "Add to Siri" feature or is it an iPadOS bug ?
Asked
by user21.
Last updated
.
Post not yet marked as solved
433 Views

A voice shortcut which Added to Siri can not be removed in particular case in iOS 15 beta 3

I wrote a minimum app to check "Add to Siri" feature. but I found that we can not removed a voice shortcut just in particular case. Tap add to Siri button to add voice shortcut first time. Now we can see iOS 15's new user interface to add shortcut to Siri. Just tap Done button. The button says "Added to Siri". And I confirmed that we can execute my feature by my voice correctly. Then tap the button again. Next, I want to remove shortcut, so tap remove button. Then the button says "Add to Siri" which implies the shortcut has not registered to system any more. That's nice. Tap the button once again. Lastly, I want to remove shortcut again, but unexpectedly nothing happened and modal screen remains to keep showing when we tap the remove button. Seems like bug? in Code I set INUIAddVoiceShortcutButtonDelegate to my Instance. and it has two callback method. func present(_ addVoiceShortcutViewController: INUIAddVoiceShortcutViewController, for addVoiceShortcutButton: INUIAddVoiceShortcutButton) func present(_ editVoiceShortcutViewController: INUIEditVoiceShortcutViewController, for addVoiceShortcutButton: INUIAddVoiceShortcutButton) One is called when my shortcut is not registered to system yet. and another's called when it's registered already. And my code set editVoiceShortcutViewController.delegate just latter one. I think this is the reason why my button has NO-response. But I don't know how to prevent being called former callback. Is this my own coding issue or Bug of iOS 15 beta 3 ?
Asked
by user21.
Last updated
.