Edytuj

Udostępnij za pośrednictwem


CPApplicationDelegate.OnResignActivation(UIApplication) Method

Definition

Called when the application is launched and every time the app returns to the foreground.

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

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

Attributes

Remarks

Because iOS applications should be designed to be long-lived, with many transitions between foreground processing and suspension or background processing, this method is generally the proper place to ensure that all the resources and state information for foreground processing are available and properly configured.

Applies to

See also

  • <xref:CarPlay.CPApplicationDelegate.OnResignActivation>