<!--
{
  "availability" : [
    "iOS: 4.0.0 - 10.0.0",
    "iPadOS: 4.0.0 - 10.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIApplication/LaunchOptionsKey/localNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIApplicationLaunchOptionsLocalNotificationKey"
  },
  "title" : "localNotification"
}
-->

# localNotification

A key indicating that the app was launched to handle a local notification.

```
static let localNotification: UIApplication.LaunchOptionsKey
```

## Discussion

The value of this key is the [`UILocalNotification`](/documentation/UIKit/UILocalNotification) object that was triggered. For additional information about handling local notifications, see the [`application(_:didReceive:)`](/documentation/UIKit/UIApplicationDelegate/application(_:didReceive:)) method.

This key is also used to access the same value in the `userInfo` dictionary of the notification named [`didFinishLaunchingNotification`](/documentation/UIKit/UIApplication/didFinishLaunchingNotification).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)