Partager via


CPApplicationDelegate.ReceivedRemoteNotification Méthode

Définition

Indique que l’application a reçu une notification à distance.

[Foundation.Export("application:didReceiveRemoteNotification:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
public virtual void ReceivedRemoteNotification (UIKit.UIApplication application, Foundation.NSDictionary userInfo);
abstract member ReceivedRemoteNotification : UIKit.UIApplication * Foundation.NSDictionary -> unit
override this.ReceivedRemoteNotification : UIKit.UIApplication * Foundation.NSDictionary -> unit

Paramètres

application
UIApplication

Référence à l’UIApplication qui a appelé cette méthode de délégué.

userInfo
NSDictionary

Dictionnaire dont la clé « aps » contient des informations relatives à la notification

Attributs

S’applique à