Skip to content

Instantly share code, notes, and snippets.

@akdsouza
Created May 3, 2018 10:28
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 akdsouza/3ca8f2ca2d9ad7203208842d3a24588c to your computer and use it in GitHub Desktop.
Save akdsouza/3ca8f2ca2d9ad7203208842d3a24588c to your computer and use it in GitHub Desktop.
INPreferences.requestSiriAuthorization { (status) in
if status == .authorized {
print("Siri access allowed")
} else {
print("Siri access denied")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment