UIApplicationDelegate_Extensions.PerformFetch 方法

定义

指示如果应用程序有要下载的数据,则可以开始提取操作。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void PerformFetch (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, Action<UIKit.UIBackgroundFetchResult> completionHandler);
static member PerformFetch : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Action<UIKit.UIBackgroundFetchResult> -> unit

参数

This
IUIApplicationDelegate

此扩展方法操作的实例。

application
UIApplication

UIApplication 的句柄。

completionHandler
Action<UIBackgroundFetchResult>

调用以通知操作系统后台提取操作结果的回调。

属性

适用于