UIKit.UIViewController.DecodeRestorableState Method
With UIViewController.EncodeRestorableState, allows custom state restoration.

Syntax

[Foundation.Export("decodeRestorableStateWithCoder:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual void DecodeRestorableState (Foundation.NSCoder coder)

See Also

UIViewController.EncodeReusableState

Parameters

coder
The Foundation.NSCoder that decodes the stored state of the application.

Remarks

In applications that supports state restoration, this function and UIViewController.EncodeRestorableState may be used to supplement standard state encoding and decoding. If UIViewController.EncodeRestorableState calls base.EncodeRestorableState(coder), this function should call base.DecodeRestorableState(coder).

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0