unregisterForRemoteNotifications()
Unregister for all remote notifications received from Apple Push Notification service (APNs).
Declaration
func unregisterForRemoteNotifications()Discussion
Use this method to unregister from all remote notifications; for example, unregister to stop receiving notifications when the user logs out of their account.