Unregister for all remote notifications received via Apple Push Notification service.
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
You should call this method in rare circumstances only, such as when a new version of the app removes support for all types of remote notifications. Users can temporarily prevent apps from receiving remote notifications through the Notifications section of the Settings app. Apps unregistered through this method can always re-register.