-
-
Save fitomad/f00ad5a9bac7a1a56b9188031514f1f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if let intent = self.intent, let shortcut = INShortcut(intent: intent) { | |
let voiceShortcutController = INUIAddVoiceShortcutViewController(shortcut: shortcut) | |
voiceShortcutController.delegate = self | |
present(voiceShortcutController, animated: true, completion: nil) | |
self.hideResponseForm() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment