UIApplication Did Receive Remote Notification(UIApplication, NSDictionary, Action<UIBackgroundFetchResult>) Delegate.
Did Receive Remote Notification(UIApplication, NSDictionary, Action<UIBackgroundFetchResult>)
Remote background notification support: Invoked by operating system when your application received a remote notification.
[Foundation.Export("application:didReceiveRemoteNotification:fetchCompletionHandler:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] public virtual void DidReceiveRemoteNotification (UIKit.UIApplication application, Foundation.NSDictionary userInfo, Action<UIKit.UIBackgroundFetchResult> completionHandler);
abstract member DidReceiveRemoteNotification : UIKit.UIApplication * Foundation.NSDictionary * Action<UIKit.UIBackgroundFetchResult> -> unit override this.DidReceiveRemoteNotification : UIKit.UIApplication * Foundation.NSDictionary * Action<UIKit.UIBackgroundFetchResult> -> unit
Callback to invoke to notify the operating system of the result of the background fetch operation.
This method is part of iOS 7.0 new remote notification support. This method is invoked if your Entitlements list the "remote-notification" background operation is set, and you receive a remote notification.
Upon completion, you must notify the operating system of the result of the method by invoking the provided callback.
Important: failure to call the provided callback method with the result code before this method completes will cause your application to be terminated.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.