Posts

Post not yet marked as solved
0 Replies
382 Views
I've added Siri Shortcuts to my app and everything works fine, except for INUIAddVoiceShortcutViewController that is always displayed in English and not with device language. Is it a bug or have we to configure the translated strings somewhere? Here is how I start the controller:if let inShortcut = INShortcut(intent: intent) { inShortcut.intent?.suggestedInvocationPhrase = phrase let viewController = INUIAddVoiceShortcutViewController(shortcut: inShortcut) viewController.modalPresentationStyle = .pageSheet viewController.delegate = self self.present(viewController, animated: true, completion: nil) }This issue happens only on iOS13 (on iOS12 the controller is displayed correctly).
Posted Last updated
.