Share via


UIApplicationDelegate.DidReceiveRemoteNotification Method

Definition

Indicates that the app received a remote notification.

[Foundation.Export("application:didReceiveRemoteNotification:fetchCompletionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidReceiveRemoteNotification(UIKit.UIApplication application, Foundation.NSDictionary userInfo, Action<UIKit.UIBackgroundFetchResult> completionHandler);
[<Foundation.Export("application:didReceiveRemoteNotification:fetchCompletionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidReceiveRemoteNotification : UIKit.UIApplication * Foundation.NSDictionary * Action<UIKit.UIBackgroundFetchResult> -> unit
override this.DidReceiveRemoteNotification : UIKit.UIApplication * Foundation.NSDictionary * Action<UIKit.UIBackgroundFetchResult> -> unit

Parameters

application
UIApplication

Handle to the UIApplication.

userInfo
NSDictionary
completionHandler
Action<UIBackgroundFetchResult>

Callback to invoke to notify the operating system of the result of the background fetch operation.

Implements

Attributes

Applies to