Siri shortcuts iOS 13 bug INUIAddVoiceShortcutButton
Asked Answered
E

0

3

In my project I use siri shortcuts with INUIAddVoiceShortcutButton.

I use this method to create the button and associate the NSUserActivity:

 let button = INUIAddVoiceShortcutButton(style: .blackOutline)  
 view.addSubview(button)  
 button.shortcut = INShortcut.userActivity(activityPreCreated)  

In iOS 12 all works right, the button add or edit the shortcuts. But in iOS 13 the button only add but doesn't edit the shortcut and remain with the text "Add to Siri".

Is a bug of the beta or I do something wrong?

Thanks in advance.

Exact answered 8/8, 2019 at 10:10 Comment(3)
similar question #56885355Scoundrelly
still not working in iOS 13.3Liberticide
are you trying to invoke the app from your intent handling class?Handkerchief

© 2022 - 2024 — McMap. All rights reserved.