push disable in app

This commit is contained in:
cheykrym 2025-12-03 23:00:17 +03:00
parent 71fb0551fe
commit e44d56e71b

View File

@ -34,8 +34,8 @@ class AppDelegate: NSObject, UIApplicationDelegate, UNUserNotificationCenterDele
willPresent notification: UNNotification,
withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void
) {
completionHandler([.banner, .sound, .badge]) // push
// completionHandler([]) // no push
// completionHandler([.banner, .sound, .badge]) // push
completionHandler([]) // no push
}
func application(_ application: UIApplication,