Type Property

localNotification

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

Declaration

static let localNotification: UIApplication.LaunchOptionsKey

Discussion

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

This key is also used to access the same value in the userInfo dictionary of the notification named didFinishLaunchingNotification.