UIAlertView won't set password field as first responder
UIAlertView won't set password field as first responder
- Subject: UIAlertView won't set password field as first responder
- From: Rick Mann <email@hidden>
- Date: Wed, 22 Apr 2015 11:53:34 -0700
In my UIAlertView -didPresentAlertView: delegate call, I'm trying to change focus to the password field with
UITextField* tf = [inView textFieldAtIndex: 1];
[tf becomeFirstResponder];
But it's being ignored. I've verified that it is the correct field. I'm doing it in -didPresentAlertView:, as suggested by others online (who've indicated success). But it doesn't work for me in the Simulator or on a device. iOS 8.2 and 8.3.
Any ideas? Thanks.
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden