In this lesson, we revisit the UIAlertController from Lesson 031 and take a look at how we can repurpose those alerts to not only respond to button clicks, but take input as well. In this example, we create an alert that takes a password in order to let you into the “Secure” part of the application. Along the way, we see how you can add text boxes and interact with them from the Alert.
(Make sure to watch in full screen and click the gear icon to set the video quality to its highest level so the text is as legible as possible)
Here is the link for the GitHub repo.