UIKit.UIApplicationDelegate.ShouldSaveApplicationState Method
Whether state preservation should be attempted on the app.

Syntax

[Foundation.Export("application:shouldSaveApplicationState:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual bool ShouldSaveApplicationState (UIApplication application, Foundation.NSCoder coder)

Parameters

application
Reference to the UIApplication that invoked this delegate method.
coder
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Both this method and UIApplicationDelegate.ShouldRestoreApplicationState must return true for state preservation and restoration to occur. These methods are convenient for testing aspects of the state preservation process.

Requirements

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