Instead of letting the view to force the first responder to give up its status, we can manually do so. How to do that? Hint: you can let a text field give up its status by calling
Suppose you want to split up the sign in process by verifying valid emails before letting users input their passwords. Suppose your email screen has only one text field for email, and a Next button.
(a) How to make this Next button dismiss the keyboard then switch view after the input email was verified?
(b) How to make the keyboard for the password text field automatically show up after the app switched to the password view? Hint: Exercise 7 of Lecture 15 might be useful here.
Around 04:55 in the lecture, in the
Sign in View Controller, comment out both the
ProgressHUD.showError() methods and test the app. What do you see?