Notification plays critical sound at max volume.

This commit is contained in:
Aaron
2021-01-24 18:25:46 -05:00
parent 49576828b6
commit 7a94b3fbf8
2 changed files with 14 additions and 13 deletions
+1
View File
@@ -28,6 +28,7 @@ class Notification {
content.title = alarm.text
content.subtitle = formatter1.string(from: today)
content.body = "Wake method: \(alarm.wakeMethod.name)"
content.sound = UNNotificationSound.defaultCriticalSound(withAudioVolume: 1.0)
// Notification image content
let imageName = "clock"