Edytuj

Udostępnij za pośrednictwem


CPApplicationDelegate.DidEnterBackground(UIApplication) Method

Definition

Indicates that the application has entered the background.

[Foundation.Export("applicationDidEnterBackground:")]
public virtual void DidEnterBackground (UIKit.UIApplication application);
abstract member DidEnterBackground : UIKit.UIApplication -> unit
override this.DidEnterBackground : UIKit.UIApplication -> unit

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

Attributes

Remarks

Application are allocated approximately 5 seconds to complete this method. Application developers should use this time to save user data and tasks, and remove sensitive information from the screen.

Applies to

See also

  • <xref:CarPlay.CPApplicationDelegate.WillEnterForeground>
  • <xref:CarPlay.CPApplication.WillTerminate>