UINavigationController.ViewControllers Property
Definition
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.
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.