Share via


UIApplicationDelegate.ShouldSaveApplicationState Method

Definition

Whether the application should save application state information.

[Foundation.Export("application:shouldSaveApplicationState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldSaveApplicationState(UIKit.UIApplication application, Foundation.NSCoder coder);
[<Foundation.Export("application:shouldSaveApplicationState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldSaveApplicationState : UIKit.UIApplication * Foundation.NSCoder -> bool
override this.ShouldSaveApplicationState : UIKit.UIApplication * Foundation.NSCoder -> bool

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

coder
NSCoder

Returns

Implements

Attributes

Applies to