UIKit.UIApplicationDelegate.GetViewController Method
Retrieve the UIKit.UIViewController identified by the restorationIdentifierComponents.

Syntax

[Foundation.Export("application:viewControllerWithRestorationIdentifierPath:coder:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual UIViewController GetViewController (UIApplication application, string[] restorationIdentifierComponents, Foundation.NSCoder coder)

Parameters

application
Reference to the UIApplication that invoked this delegate method.
restorationIdentifierComponents
An array of identifiers that identify the path to the desired view controller, which should be last.
coder
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

To retrieve a specific UIKit.UIViewController, the restorationIdentifierComponents must contain the identifiers of the desired view controller and all its ancestors in the view controller hierarchy. The last value should be that of the desired view contoller, while the first should be the root of the view controller hierarcy.

Requirements

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