Compartir a través de


CPApplicationDelegate.ReceivedRemoteNotification Método

Definición

Indica que la aplicación recibió una notificación remota.

[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

Parámetros

application
UIApplication

Referencia a uiApplication que invocó este método delegado.

userInfo
NSDictionary

Diccionario cuya clave "aps" contiene información relacionada con la notificación.

Atributos

Se aplica a