[ad_1]
You may keep away from registering to push notifications all collectively on app launch.
You may as well replace the server to keep away from sending particular notification and keep away from them presenting for the person on their telephone.
Your third possibility is to write down a notification service extension https://developer.apple.com/documentation/usernotifications/unnotificationserviceextension
And use some sort of shared persistent retailer between the extension and the app to forestall sure notifications from being proven to the person (even when the appliance is terminated).
The choices you urged is a bit problematic for the case the appliance is in background or terminated state as you don’t have any management on push that’s offered to the person.
[ad_2]
