UIKit.UIApplication.ExtendStateRestoration Method
Indicates that the application is restoring state asynchronously.

Syntax

[Foundation.Export("extendStateRestoration")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual void ExtendStateRestoration ()

Remarks

State restoration occurs on the main thread. Application developers who wish to do state restoration asynchronously should call this method and pair it with calls to UIApplication.CompleteStateRestoration to indicate to the system that state restoration is occurring asynchronously.

If this method is called and the application crashes before the matching UIApplication.CompleteStateRestoration is called, all retained state will be discarded on next startup. This behavior prevents the crash from re-occurring.

Requirements

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