Alex Rivera | Logout

How to prompt user for text input in Alert view

Asked 2011-08-10T18:26:44.360
25

I am writing a section of code where it would be best if I could use a pop up box something like UIAlertView and prompt the user to enter text like a password. Any pointers on an elegant way of doing this?

Edit
Report

1 Answer

3

I think it would be helpful to know that UIAlertView is not modal so the alert will not block.

I ran into this problem where I wanted to prompt the user for input then continue and then use that input in the code after. But instead the code after the [alert show] would run first until you reached the end of the run loop then the alert would display.

answered 2012-01-13T01:40:11.643

Your Answer