UIViewController.DecodeRestorableState(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.
With EncodeRestorableState(NSCoder), allows custom 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
- Attributes
Remarks
In applications that supports state restoration, this function and EncodeRestorableState(NSCoder) may be used to supplement standard state encoding and decoding. If EncodeRestorableState(NSCoder) calls base.EncodeRestorableState(coder)
, this function should call base.DecodeRestorableState(coder)
.
Applies to
See also
- <xref:UIKit.UIViewController.EncodeReusableState>