UINavigationController.PushViewController(UIViewController, Boolean) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Pushes a view controller onto the UINavigationController's navigation stack.
[Foundation.Export("pushViewController:animated:")]
public virtual void PushViewController(UIKit.UIViewController viewController, bool animated);
abstract member PushViewController : UIKit.UIViewController * bool -> unit
override this.PushViewController : UIKit.UIViewController * bool -> unit
- viewController
- UIViewController
The view controller to push onto the navigation stack
- animated
- Boolean
A boolean indicating if the transition back to the root controller should be animated.
- Attributes
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 UITabBarController
Proizvod | Verzije |
---|---|
Xamarin iOS SDK | 12 |