Condividi tramite


UIApplicationDelegate_Extensions.PerformFetch Metodo

Definizione

Indica che l'applicazione può avviare un'operazione di recupero se dispone di dati da scaricare.

[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

Parametri

This
IUIApplicationDelegate

Istanza in cui funziona questo metodo di estensione.

application
UIApplication

Gestire l'interfaccia utenteApplication.

completionHandler
Action<UIBackgroundFetchResult>

Callback per richiamare per notificare al sistema operativo il risultato dell'operazione di recupero in background.

Attributi

Si applica a