Edytuj

Udostępnij za pośrednictwem


UIView.DecodeRestorableState(NSCoder) Method

Definition

Application developers can override this method to support state restoration.

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

Parameters

coder
NSCoder

The NSCoder used to decode the state.

Attributes

Applies to

See also

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