Last active
April 11, 2019 02:54
-
-
Save interstateone/4805f28a2ef4b991dbec1b4046707dec to your computer and use it in GitHub Desktop.
Non-interruptive notifications on iOS
This file contains hidden or 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
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .provisional]) { granted, error in | |
// Handle response... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment