http://iphonedevelopment.blogspot.com/2009/02/alert-view-with-prompt.html
I\'m using that code to get my iPhone app to display an alertView with an included UITextFi
clickedButtonAtIndex is called when user actually clicks the button. Clicking the button may or may not dismiss the alert. the standard OK/Cancel buttons have the effect of dismissing the alert on click. If a click translates to dismiss or a dismissWithClickedbuttonIndex method is called, then did DismissWithButtonIndex is called.