UIKit.UINavigationController.PopToRootViewController Method

Syntax

[Foundation.Export("popToRootViewControllerAnimated:")]
public virtual UIViewController[] PopToRootViewController (bool animated)

Parameters

animated
A boolean indicating if the transition back to the root controller should be animated.

Returns

An array of view controller that were popped from the stack in the process of returning to the root controller.

Remarks

After this call, the root controller will be at the top of the UINavigationController's stack, and the root controller's view will be displayed by the navigation controller.

Requirements

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