For iOS,
When requesing for user Permmission we pass the array of required values
UNUserNotificationCenter.current()
.requestAuthorization(options: [.alert, .sound, .badge]) { granted, _ in
print("Permission granted: (granted)")
}
From the above, just remove .sound
from options array.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…