共用方式為


UIApplicationDelegate_Extensions.ShouldRestoreApplicationState 方法

定義

應用程式是否應該還原儲存的狀態資訊。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ShouldRestoreApplicationState (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, Foundation.NSCoder coder);
static member ShouldRestoreApplicationState : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Foundation.NSCoder -> bool

參數

This
IUIApplicationDelegate

這個擴充方法運作所在的 實例。

application
UIApplication

叫用這個委派方法的 UIApplication 參考。

coder
NSCoder

傳回

屬性

適用於