Friday, February 3, 2023
HomeAppleios - Is userNotificationCenter(_:willPresent:withCompletionHandler:) referred to as when app is in foreground...

ios – Is userNotificationCenter(_:willPresent:withCompletionHandler:) referred to as when app is in foreground however consumer denied notifications?


I’m making an attempt to grasp if userNotificationCenter(_:willPresent:withCompletionHandler:) known as when the app is in foreground, however the consumer denied / turned off the app’s notifications?

I see that after I simulate the notification within the simulator (by way of a .apns file), the strategy known as, despite the fact that it doesn’t matter what I name the completion handler with, the alert will not be proven.

Is that this the conduct with precise push notifications as properly? I’ve no method to check this at the moment.

Thanks.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

15 − six =

Most Popular

Recent Comments