UINavigationController.VisibleViewController Property

Definition

The view controller whose view is currently on the screen.

[get: Foundation.Export("visibleViewController", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual UIKit.UIViewController VisibleViewController { get; }
member this.VisibleViewController : UIKit.UIViewController

Property Value

Attributes

Remarks

This will be either the view controller at the top of the stack, or one that was presented modally.

Applies to