fix notice

This commit is contained in:
anlicheng 2025-04-05 15:27:21 +08:00
parent 3d4ca58912
commit c9dce3e5cd

View File

@ -59,7 +59,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
return true
}
func registerForPushNotifications() {
private func registerForPushNotifications() {
UNUserNotificationCenter.current().delegate = self
//
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) {granted, error in