Share via


UIApplicationDelegate.ShouldRestoreApplicationState Method

Definition

Whether the application should restore saved state information.

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

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

coder
NSCoder

Returns

Implements

Attributes

Applies to