UIKit.UINavigationController.PushViewController Method
Pushes a view controller onto the UINavigationController's navigation stack.

Syntax

[Foundation.Export("pushViewController:animated:")]
public virtual void PushViewController (UIViewController viewController, bool animated)

Parameters

viewController
The view controller to push onto the navigation stack
animated
A boolean indicating if the transition back to the root controller should be animated.

Remarks

The specified controller is pushed onto the stack and the navigation controller will update its display to show this controller's view. There are a couple limitations. First, the controller must not already be part of the navigation controller's stack. Second, The controller cannot be a UIKit.UITabBarController

Requirements

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