UIKit.UIApplicationDelegate.WillTerminate Method
Called if the application is being terminated due to memory constraints or directly by the user.

Syntax

[Foundation.Export("applicationWillTerminate:")]
public virtual void WillTerminate (UIApplication application)

See Also

UIApplicationDelegate.OnResignActivation
UIApplicationDelegate.WillEnterBackground

Parameters

application
Reference to the UIApplication that invoked this delegate method.

Remarks

iOS applications are expected to be long-lived, with many transitions between activated and non-activated states (see UIApplicationDelegate.OnActivated, UIApplicationDelegate.OnResignActivation) and are typically only terminated by user command or, rarely, due to memory exhaustion (see UIApplicationDelegate.ReceiveMemoryWarning).

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0