Bagikan melalui


UIView.EncodeRestorableState(NSCoder) Metode

Definisi

Pengembang aplikasi dapat mengambil alih metode ini untuk menyimpan status yang terkait dengan tampilan.

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

Parameter

coder
NSCoder

NSCoder untuk mengodekan status.

Atribut

Berlaku untuk

Lihat juga

  • <xref:UIKit.UIView.DecodeRestorableState>
  • <xref:UIKit.UIApplicationDelegate.ShouldRestoreApplicationState>
  • <xref:UIKit.UIApplicationDelegate.ShouldSaveApplicationState>