UIView.EncodeRestorableState(NSCoder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Applies to
See also
- <xref:UIKit.UIView.DecodeRestorableState>
- <xref:UIKit.UIApplicationDelegate.ShouldRestoreApplicationState>
- <xref:UIKit.UIApplicationDelegate.ShouldSaveApplicationState>