https://stackoverflow.com/questions/52342934/siri-shortcut-button-inuiaddvoiceshortcutbutton-shows-wrong-title-when-have-mu
So simple INUIAddVoiceShortcutButton have unbelivable amout of bugs for major feature release.
1) INUIAddVoiceShortcutButton did not support INShortcut created from NSUserActivity. Button will always show first created INVoiceShortcut for every instance of INUIAddVoiceShortcutButton even if it have different INShortcut assigned to them. So you can't create more then 1 shortcut for your app usign NSUserActivity.
2) INUIAddVoiceShortcutButton did not support INShortcut created from INIntent too! Use INUIAddVoiceShortcutButton to create INVoiceShortcut with for example INPlayMediaIntentand and next recreate INUIAddVoiceShortcutButton. INUIAddVoiceShortcutButton will not find your previously created INVoiceShortcut even if you create it with exactly the same INShortcut. The only way to fix it is to enumerate INVoiceShortcutCenter.getAllVoiceShortcutsWithCompletion and find match INVoiceShortcut instance and use it INVoiceShortcut.shortcut to initiate INUIAddVoiceShortcutButton. In this case Button will catch it.
I suppose internally INUIAddVoiceShortcutButton use == pointer comparation in ObjC code (Swift generation 🙂 ).
3) INUIAddVoiceShortcutButton did not update its state when you remove INVoiceShortcut from iOS Settings -> Siri Shortcuts.
Radar:44754428