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
属性

适用于