Monthly Archives: August 2013

UIAlertView – a simple text input dialog box

Create the alertView with style UIAlertViewStylePlainTextInput:

This produces an alertView:

UIAlertView that uses the UIAlertViewPlainTextInput alertStyle to ask a user name

When pressing any buttons, the regular delegate methods will be called and you can extract the textInput there like so: