unregisterForRemoteNotifications and isRegisteredForRemoteNotifications are working ?

Hi,

i'm a newbie and need your help.

I had a little old project written in object-c in which i had a switch to turn on and off push notifications directly in inside app, and it is working correctly.

I'm trying now to rewrite from scratch in swift.

It seems now that unregisterForRemoteNotifications, is not working and even if i execute it :

1) I continue receive pushes

2) isRegisteredForRemoteNotifications continue to return true


Do you have any idea ?

are above command supposed to work in swift ?


B. regards

Fabrizio

Post not yet marked as solved Up vote post of Grisu70 Down vote post of Grisu70
562 views

Replies

Three years later and I'm seeing the exact same issue in iOS16.2.