Remove remote push notification while app closed

508 views Asked by At

I am developing an iOS app using Swift which has push notification feature. I've implemented push notifications feature in my project and want to remove push notification when it's necessary (for instance message has been deleted by user A and push message is still visible on User's B screen). I used this article (https://medium.com/@sebastianosiski/implementing-removable-remote-notifications-on-ios-a17d74832bde) and it works fine while app in background mode. But when app is closed I cannot remove push notification. Is it possible to remove it while app is closed?

0

There are 0 answers