Property ViewController
ViewController
Gets or sets the main view controller.
Declaration
public UIViewController ViewController { get; set; }
Property Value
Type | Description |
---|---|
UIKit. |
The main view controller. |
Remarks
This view controller is used to display credential request alerts above your application's content.
If this is not set, the runtime will attempt to determine the best view controller to display alerts above all other views in your application.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET iOS | 200.0 - 200.6 |
Xamarin.iOS | 100.14 - 100.15 |