textFields
The array of text fields displayed by the alert.
Declaration
var textFields: [UITextField]? { get }Discussion
Use this property to access the text fields displayed by the alert. The text fields are in the order in which you added them to the alert controller. This order also corresponds to the order in which they are displayed in the alert.