Share via


Platform.GetCurrentUIViewController Method

Definition

Get the currently visible UIViewController.

public static UIKit.UIViewController GetCurrentUIViewController ();

Returns

UIKit.UIViewController

The visible UIViewController or null if not found.

Applies to