Skip to content

Instantly share code, notes, and snippets.

@mafellows
Created October 26, 2016 19:10
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 mafellows/bb18477ec6d25f70cac7a8f327c7407e to your computer and use it in GitHub Desktop.
Save mafellows/bb18477ec6d25f70cac7a8f327c7407e to your computer and use it in GitHub Desktop.
UNUserNotificationCenter.current().getNotificationSettings { settings in
let authorizationStatus: UNAuthorizationStatus = settings.authorizationStatus
// Handle authorization status
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment