• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UIAlertView won't set password field as first responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIAlertView won't set password field as first responder


  • Subject: Re: UIAlertView won't set password field as first responder
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 22 Apr 2015 14:18:52 -0500

On Wed, Apr 22, 2015, at 01:53 PM, Rick Mann wrote:
> 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.

How many times do we need to say it?

Stop. Touching. The. Alert. View. Hierarchy.

In fact, did you see Jamie's advice to use UIAlertController instead?

--Kyle Sluder
_______________________________________________

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


  • Follow-Ups:
    • Re: UIAlertView won't set password field as first responder
      • From: Rick Mann <email@hidden>
References: 
 >UIAlertView won't set password field as first responder (From: Rick Mann <email@hidden>)

  • Prev by Date: UIAlertView won't set password field as first responder
  • Next by Date: Re: UIAlertView has zero bounds
  • Previous by thread: UIAlertView won't set password field as first responder
  • Next by thread: Re: UIAlertView won't set password field as first responder
  • Index(es):
    • Date
    • Thread