UNUserNotificationCenterDelegate.DidReceiveNotificationResponse Method

Definition

Called after the user selects an action from a notification from the app.

[Foundation.Export("userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidReceiveNotificationResponse (UserNotifications.UNUserNotificationCenter center, UserNotifications.UNNotificationResponse response, Action completionHandler);
abstract member DidReceiveNotificationResponse : UserNotifications.UNUserNotificationCenter * UserNotifications.UNNotificationResponse * Action -> unit
override this.DidReceiveNotificationResponse : UserNotifications.UNUserNotificationCenter * UserNotifications.UNNotificationResponse * Action -> unit

Parameters

center
UNUserNotificationCenter

The notification center that received the response.

response
UNNotificationResponse

The user's response.

completionHandler
Action

An action that takes no arguments and returns no value.

Attributes

Applies to