共用方式為


CPApplicationDelegate.ShouldSaveApplicationState 方法

定義

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

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

參數

application
UIApplication

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

coder
NSCoder

傳回

屬性

適用於