UIAlertController with Two Buttons and UITextField

In this short Swift code example we will create an Alert dialog message with Ok and Cancel buttons as well as one UITextField to let user input their ID. Create UIAlertController Create OK and Cancel buttons with Action handlers Add UITextField to UIAlertController Handle OK button action to display text user has entered into UITextField … Continue reading UIAlertController with Two Buttons and UITextField