At the time of posting, this problem still persist. I had to downgrade the Swift Version Language that the Swift Compiler uses from Swift 6 to Swift 5. As soon as I invoke this function, I get hosed and the app crashes:
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) { granted, error in
// ...
}
I hear that this is a known Apple Bug. Is this true?
Topic:
Programming Languages
SubTopic:
Swift
Tags: