UIKit.UIAlertController Members

The members of UIKit.UIAlertController are listed below.

See Also: Inherited members from UIKit.UIViewController

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
ActionsUIAlertAction[]. Gets an array of UIKit.UIAlertAction actions that this UIKit.UIAlertController object provides to the user.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
Messagestring. Gets or sets a description of the reason for the alert that is associated with this UIKit.UIAlertController object.
[read-only]
PreferredStyleUIAlertControllerStyle. Gets the preferred UIKit.UIAlertControllerStyle style for that alert that is associated with this UIKit.UIAlertController object, either an action sheet or an alert.
[read-only]
TextFieldsUITextField[]. Gets an array of UIKit.UITextField fields to display for the alert that is associated with this UIKit.UIAlertController object.
Titlestring. Gets the title to display for the alert that is associated with this UIKit.UIAlertController object.

Public Methods

AddAction(UIAlertAction)
Adds a UIKit.UIAlertAction action that this UIKit.UIAlertController displays as a button for the user.
AddTextField(Action<UITextField>)
Adds a UIKit.UITextField object to this UIKit.UIAlertController to display to the user, and also includes a configurationHandler that the app developer can use to change the text field properties.
static
Create(string, string, UIAlertControllerStyle) : UIAlertController
Creates a UIKit.UIAlertController object to display an alert to the user that includes a title, a message, and UIKit.UIAlertControllerStyle preferred style, and then returns that UIKit.UIAlertController object.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIAlertController object.