UINavigationController.TopViewController 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 controller currently at the top of the navigation controller's stack.
public virtual UIKit.UIViewController TopViewController { [Foundation.Export("topViewController", ObjCRuntime.ArgumentSemantic.Strong)] get; }
member this.TopViewController : UIKit.UIViewController
Property Value
- Attributes
Remarks
Returns the view controller currently at the top of the navigation controller's stack, whihc will change as the user navigates through the application.