MonoTouch.UIKit.UIView.RestorationIdentifier Property
If not null, indicates that the MonoTouch.UIKit.UIView supports state preservation and restoration.

Syntax

[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_6_0)]
[get: MonoTouch.Foundation.Export("restorationIdentifier")]
[get: MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_6_0)]
[set: MonoTouch.Foundation.Export("setRestorationIdentifier:")]
[set: MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_6_0)]
public virtual string RestorationIdentifier { get; set; }

Value

The default value is null.

This value can be null.

Remarks

If this method returns the default null value, the MonoTouch.UIKit.UIView will not have its state preserved and restored.

If the MonoTouch.UIKit.UIView does need state preservation and restoration, this method should be overridden to return a string.

In addition to returning a non-null UIView.RestorationIdentifier, so too must the MonoTouch.UIKit.UIViewController for which this MonoTouch.UIKit.UIView is the UIViewController.View and all the ancestor MonoTouch.UIKit.UIViewControllers reachable by the UIViewController.Parent property.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0