UIKit.UINavigationController.SetViewControllers Method
Replaces the controllers in the navigation controller's navigation stack.

Syntax

[Foundation.Export("setViewControllers:animated:")]
public virtual void SetViewControllers (UIViewController[] controllers, bool animated)

Parameters

controllers

The array of controllers to put into the navigation stack

This parameter can be null.

animated
A boolean to control if the topmost controller's transition should be animated.

Remarks

The last controller in the array will be placed at the top of the navigation stack.

Requirements

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