Share via


UIApplicationDelegate.DidEnterBackground(UIApplication) Method

Definition

Indicates that the application has entered the background.

[Foundation.Export("applicationDidEnterBackground:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidEnterBackground(UIKit.UIApplication application);
[<Foundation.Export("applicationDidEnterBackground:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidEnterBackground : UIKit.UIApplication -> unit
override this.DidEnterBackground : UIKit.UIApplication -> unit

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

Implements

Attributes

Remarks

Apps should complete processing this method in approximately 5 seconds. If more time is necessary, applications can call BeginBackgroundTask(String, Action).

Applies to