-
-
Save GxocT/e63e2a6227ab6aa7a7d8e553098a21aa to your computer and use it in GitHub Desktop.
This file contains 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
let content = UNMutableNotificationContent() | |
content.title = "WARNING" | |
content.body = "Storm alert" | |
content.categoryIdentifier = "storm-alert" | |
content.sound = UNNotificationSound.defaultCriticalSound(withAudioVolume: 1.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment