UIView.EncodeRestorableState(NSCoder) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
- Atribut
Berlaku untuk
Lihat juga
- <xref:UIKit.UIView.DecodeRestorableState>
- <xref:UIKit.UIApplicationDelegate.ShouldRestoreApplicationState>
- <xref:UIKit.UIApplicationDelegate.ShouldSaveApplicationState>