編輯

共用方式為


UIApplicationDelegate.DidDecodeRestorableState(UIApplication, NSCoder) Method

Definition

Indicates that the app should restore highest-level state.

[Foundation.Export("application:didDecodeRestorableStateWithCoder:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidDecodeRestorableState (UIKit.UIApplication application, Foundation.NSCoder coder);
abstract member DidDecodeRestorableState : UIKit.UIApplication * Foundation.NSCoder -> unit
override this.DidDecodeRestorableState : UIKit.UIApplication * Foundation.NSCoder -> unit

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

coder
NSCoder
Attributes

Remarks

This is the final method called during state restoration. Application developers can override this method to restore their highest-level application data.

Applies to

See also

  • <xref:UIKit.UIApplicationDelegate.WillEncodeRestorableState>