Skip to content

Instantly share code, notes, and snippets.

@iosdevie
Created May 26, 2021 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iosdevie/d31ce12ba4db3ed244000eb5fb827cfa to your computer and use it in GitHub Desktop.
Save iosdevie/d31ce12ba4db3ed244000eb5fb827cfa to your computer and use it in GitHub Desktop.
SFSpeechRecognizer.requestAuthorization{authStatus in
OperationQueue.main.addOperation {
switch authStatus {
case .authorized:
case .restricted:
case .notDetermined:
case .denied:
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment