# Titanium.App.iOS.UserNotificationCenter

> The top-level App iOS Notification Center module. It is used to control scheduled notifications and receive details about the system-wide notification settings.

- Source: https://titaniumsdk.com/docs/sdk/13.4.0/Titanium.App.iOS.UserNotificationCenter
- Titanium SDK version: 13.4.0
- Kind: module
- Platforms: iPhone, iPad, macOS
- Since: Titanium SDK 7.3.0
- Extends: Titanium.Module
- Inheritance: Titanium.Module > Titanium.Proxy

## Methods

### getDeliveredNotifications

- Platforms: iPhone, iPad, macOS
- Since: Titanium SDK 7.3.0

Fetches the delivered notifications asynchronously.

Parameters:

- `callback` (Callback<UserNotificationCallbackResponse>): The function that is being called after the notifications have been fetched.

### getPendingNotifications

- Platforms: iPhone, iPad, macOS
- Since: Titanium SDK 7.3.0

Fetches the pending notifications asynchronously.

Parameters:

- `callback` (Callback<UserNotificationCallbackResponse>): The function that is being called after the notifications have been fetched.

### removeDeliveredNotifications

- Platforms: iPhone, iPad, macOS
- Since: Titanium SDK 7.3.0

Removes the specified delivered notifications from the notification-center.
If no notifications are specified, all delivered notifications will be removed.

Delivered notifications can be obtained via a call to the [Titanium.App.iOS.UserNotificationCenter.getDeliveredNotifications](https://titaniumsdk.com/docs/sdk/Titanium.App.iOS.UserNotificationCenter.md#getDeliveredNotifications)
method.

Parameters:

- `notifications` (Array<UserNotificationDictionary>): The delivered notification to remove. If none specified, all pending notifications will be removed.

### removePendingNotifications

- Platforms: iPhone, iPad, macOS
- Since: Titanium SDK 7.3.0

Removes the specified pending notifications to prevent them from being triggered.
If no notifications are specified, all pending notifications will be removed.

Pending notifications can be obtained via a call to the [Titanium.App.iOS.UserNotificationCenter.getPendingNotifications](https://titaniumsdk.com/docs/sdk/Titanium.App.iOS.UserNotificationCenter.md#getPendingNotifications)
method.

Parameters:

- `notifications` (Array<UserNotificationDictionary>): The pending notification to remove. If none specified, all pending notifications will be removed.

### requestUserNotificationSettings

- Platforms: iPhone, iPad, macOS
- Since: Titanium SDK 7.3.0

Notification types and user notification categories the application is registered to use.

Parameters:

- `callback` (Callback<GetUserNotificationSettings>): The callback invoked when requesting user notification settings.

## Inherited members

1 members are inherited. Each is documented on the type that declares it.

- [Titanium.Proxy](https://titaniumsdk.com/docs/sdk/13.4.0/Titanium.Proxy.md): `apiName`

---

- This corpus documents Titanium SDK 13.4.1. Anything here that does not name a version describes 13.4.1.
- Titanium is maintained by TiDev. The Appcelerator toolchain is retired: there is no `appc` CLI, no Appcelerator Studio and no hosted build service. The supported CLI is `titanium` on npm, invoked as `ti`.

