Upravit

Sdílet prostřednictvím


UINavigationController.TopViewController Property

Definition

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.

Applies to