INUIAddVoiceShortcutViewController not localized on iOS 13.1.2

I tried to use INUIAddVoiceShortcutViewController to add a shortcut, but it was not localized, the same code works fine on iOS 12, so does INUIEditVoiceShortcutViewController.




INShortcut *shortcut = [[INShortcut alloc] initWithIntent: intent];

INUIAddVoiceShortcutViewController *addVoiceShortcutViewController = [[INUIAddVoiceShortcutViewController alloc] initWithShortcut: shortcut];

addVoiceShortcutViewController.delegate = self;

addVoiceShortcutViewController.modalPresentationStyle = UIModalPresentationFullScreen;

[self presentViewController: addVoiceShortcutViewController animated: YES completion: nil];



When I present the view controller, the log shows as below:


[default] +[LSApplicationProxy applicationProxyFor*] is not a supported method for getting the LSApplicationProxy for the current process, use +[LSBundleProxy bundleProxyForCurrentProcess] instead.


Any help will be appreciated!

Replies

Same problem, ios13.2.3