Instantly share code, notes, and snippets.

Embed
What would you like to do?
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