# Titanium.App.iOS.LocalNotification

> A local notification to alert the user of new or pending application information.

- Source: https://titaniumsdk.com/docs/sdk/12.6.2/Titanium.App.iOS.LocalNotification
- Titanium SDK version: 12.6.2
- Kind: proxy
- Platforms: iPhone, iPad, macOS
- Since: Titanium SDK 1.5
- Extends: Titanium.Proxy
- Inheritance: Titanium.Proxy

A LocalNotification is created by [Titanium.App.iOS.scheduleLocalNotification](https://titaniumsdk.com/docs/sdk/Titanium.App.iOS.md#scheduleLocalNotification).  

Local notifications are a way for an application that is not running in the foreground to let
users know that it has information for them. When invoked, the application either displays a
banner message or an alert dialog with a **Close** button to dismiss and an **Open** button to bring the application
into the foreground. The application can also modify the icon badge, to show the
number of pending notifications, and generate a sound.

## Methods

### cancel

- Platforms: iPhone, iPad, macOS
- DEPRECATED since 7.3.0. Use [Titanium.App.iOS.UserNotificationCenter.removePendingNotifications](Titanium.App.iOS.UserNotificationCenter.removePendingNotifications) instead.

Cancels the pending notification.

## Inherited members

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

- [Titanium.Proxy](https://titaniumsdk.com/docs/sdk/12.6.2/Titanium.Proxy.md): `addEventListener`, `apiName`, `applyProperties`, `bubbleParent`, `fireEvent`, `removeEventListener`

---

- 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`.

