UIApplicationDelegate.PerformFetch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates that the application can begin a fetch operation if it has data to download.
[Foundation.Export("application:performFetchWithCompletionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PerformFetch(UIKit.UIApplication application, Action<UIKit.UIBackgroundFetchResult> completionHandler);
[<Foundation.Export("application:performFetchWithCompletionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformFetch : UIKit.UIApplication * Action<UIKit.UIBackgroundFetchResult> -> unit
override this.PerformFetch : UIKit.UIApplication * Action<UIKit.UIBackgroundFetchResult> -> unit
Parameters
- application
- UIApplication
Handle to the UIApplication.
- completionHandler
- Action<UIBackgroundFetchResult>
Callback to invoke to notify the operating system of the result of the background fetch operation.
Implements
- Attributes