---
title: unregisterForRemoteNotifications()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uiapplication/unregisterforremotenotifications()
---

# unregisterForRemoteNotifications()

Unregisters for all remote notifications received through Apple Push Notification service.

## Declaration

```swift
func unregisterForRemoteNotifications()
```

## Discussion

Discussion Call this method when your app no longer needs to receive push notifications, such as when: Someone logs out of an account associated with push notifications Someone explicitly requests to stop receiving notifications through your app interface Your app removes support for all types of remote notifications The Settings app also provides controls to prevent apps from receiving remote notifications. Apps unregistered through this method can always re-register by calling registerForRemoteNotifications().

## See Also

### Registering for remote notifications

- [registerForRemoteNotifications()](uikit/uiapplication/registerforremotenotifications().md)
- [isRegisteredForRemoteNotifications](uikit/uiapplication/isregisteredforremotenotifications.md)
