Re: Dismissing the iPhone keyboard
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