Re: UIAlertView won't set password field as first responder
Re: UIAlertView won't set password field as first responder
- Subject: Re: UIAlertView won't set password field as first responder
- From: Shazron <email@hidden>
- Date: Wed, 22 Apr 2015 13:31:04 -0700
- (void)didPresentAlertView:(UIAlertView*)alertView
{
if (alertView.alertViewStyle == UIAlertViewStylePlainTextInput){
[[alertView textFieldAtIndex:0] selectAll:nil];
}
}
On Wed, Apr 22, 2015 at 1:21 PM, Rick Mann <email@hidden> wrote:
> I don't think this qualifies as "messing with the internals." Apple provides those methods. I'm not adding or removing views, or even moving them. All I want to do is change focus. There are several posts on this approach that report success. I'm not seeing it.
>
> Provide me with a solution, or tell me it's impossible for some reason that explains why others have reported success.
>
>> On Apr 22, 2015, at 13:19 , Kyle Sluder <email@hidden> wrote:
>>
>> On Wed, Apr 22, 2015, at 03:16 PM, Rick Mann wrote:
>>> Stop. Making. Me. Abandon. Older. Users.
>>
>> Nobody is making you abandon older users.
>>
>> Use UIAlertView when running on older platforms.
>>
>> Use UIAlertController when running on newer platforms, or continue to
>> use the UIAlertView compatibility support.
>>
>> But stop messing with the internals of UIAlertView!
>>
>> --Kyle Sluder
>
>
> --
> 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
_______________________________________________
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