Edit

Bagikan melalui


UINavigationController.ViewControllers Property

Definition

The view controllers currently on the navigation controller's stack.

public virtual UIKit.UIViewController[] ViewControllers { [Foundation.Export("viewControllers", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setViewControllers:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.ViewControllers : UIKit.UIViewController[] with get, set

Property Value

This value can be null.

Attributes

Remarks

Returns an array of controllers currently on the navigation controller's navigation stack, with the root controller being at the 0 index in the array.

Applies to