UIView.EncodeRestorableState(NSCoder) UIView.EncodeRestorableState(NSCoder) Method

Definition

Application developers can override this method to store state associated with the view.

[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

Parameters

coder
NSCoder NSCoder

The NSCoder to encode the state.

Applies to