Instance Property


Descriptive text that provides more details about the reason for the alert.


var message: String? { get set }


The message string is displayed below the title string and is less prominent. Use this string to provide additional context about the reason for the alert or about the actions that the user might take.

See Also

Configuring the Alert

var title: String?

The title of the alert.

var preferredStyle: UIAlertController.Style

The style of the alert controller.