push disable in app
This commit is contained in:
parent
71fb0551fe
commit
e44d56e71b
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user