• 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: Dismissing the iPhone keyboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dismissing the iPhone keyboard


  • Subject: Re: Dismissing the iPhone keyboard
  • From: Steve Taylor <email@hidden>
  • Date: Fri, 3 Apr 2009 14:46:29 +0100

textFieldDidEndEditing is only triggered once first responder has been resigned by the field.

try something like

- (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
    if (theTextField == textField) {
        [textField resignFirstResponder];
    }
    return YES;
}

where textField is you IBOutlet

cheers

steve


On 3 Apr 2009, at 14:30, Development wrote:

textFieldDidEndEditing

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >Dismissing the iPhone keyboard (From: Development <email@hidden>)
 >Re: Dismissing the iPhone keyboard (From: Dave DeLong <email@hidden>)
 >Re: Dismissing the iPhone keyboard (From: Development <email@hidden>)

  • Prev by Date: Very interesting ordering caveat with NSArray arrayWithObjects:
  • Next by Date: creating related objects
  • Previous by thread: Re: Dismissing the iPhone keyboard
  • Next by thread: Re: Dismissing the iPhone keyboard
  • Index(es):
    • Date
    • Thread