CPApplicationDelegate.ShouldRestoreApplicationState 方法

定义

应用程序是否应还原保存的状态信息。

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

参数

application
UIApplication

对调用此委托方法的 UIApplication 的引用。

coder
NSCoder

返回

属性

适用于