UINavigationController.TopViewController Property

Definition

The view controller currently at the top of the navigation controller's stack.

[get: Foundation.Export("topViewController", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual UIKit.UIViewController TopViewController { 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.

Applies to