title
The title of the alert.
Declaration
var title: String? { get set }Discussion
The title string is displayed prominently in the alert or action sheet. You should use this string to get the user’s attention and communicate the reason for displaying the alert.