• 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
UIAlertView won't set password field as first responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: UIAlertView won't set password field as first responder
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Converting to Window Coordinates
  • Next by Date: Re: UIAlertView won't set password field as first responder
  • Previous by thread: Re: Submitting App Localization Issue...
  • Next by thread: Re: UIAlertView won't set password field as first responder
  • Index(es):
    • Date
    • Thread