This was working good before iOS 15
let center = UNUserNotificationCenter.current()
let content = UNMutableNotificationContent()
content.sound = UNNotificationSound.init(named:UNNotificationSoundName(rawValue: sound))
let request = UNNotificationRequest(identifier: UUID().uuidString, content: content, trigger: trigger)
center.add(request)
User was getting notification sound, after iOS 15 I have to add
content.body = "Hello iOS 15"
Anyway to send local notification with sound only on iOS 15?