Instance Property

notificationResponse

The user's response to one of your app's notifications.

Declaration

var notificationResponse: UNNotificationResponse? { get }

Discussion

When UIKit connects a scene in order to process a notification, it puts the response object in this property. Use the information in this object to configure your scene. If the user selected one of the notification's actions, perform that action.