共用方式為


UIApplicationDelegate.WillEncodeRestorableState 方法

定義

表示應用程式即將儲存應用程式狀態資料。

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

參數

application
UIApplication

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

coder
NSCoder
屬性

適用於