共用方式為


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

傳回

屬性

適用於