Is there a way to add a validation check for textfield in a UIAlertView before closing the alert? E.g. check user credentials like username and password, and if its incorrect, update the text in the UIAlertView that credentials are incorrect. Only dismiss the UIAlertView when the validation check passes.
thanks!
I think you’d want to subclass UIActionSheet to provide this behavior. It doesn’t look to me like it’s possible to validate text entry and keep the UIAlertView open.
Alternatively, you could validate the text entered and reshow the UIAlertView if the password entered isn’t correct.