I’m calling a UIAlertView with the PlainTextView style, and I’m trying to work out how I can get access to whatever the user entered in the text view before they clicked OK.
I’m using willDismissWithButtonIndex and the alertView doesn’t seem to have any properties like text, or anything.
How can I get at it? Thanks in advance!
Get the text field with
In your delegate method.
Refer to the documentation for further information.
Edit march 2015 due to many views the swift equivalent :