swift UIalert with textfield code example
Example: swift uialertcontroller textfield
alert.addTextField { (textField) in
textField.placeholder = "Enter First Name"
}
alert.addTextField { (textField) in
textField.placeholder = "Enter First Name"
}