Re: UITextField not sending messages to delegate
Re: UITextField not sending messages to delegate
- Subject: Re: UITextField not sending messages to delegate
- From: Alexander Spohr <email@hidden>
- Date: Wed, 6 May 2009 11:21:07 +0200
April,
Am 05.05.2009 um 23:46 schrieb Development:
I have a UITextfield that I have set the delegate for. I have a
default keyboard and when you hit the send key (I've set the return
to send) nothing happens. I have the - (void)textFieldDone:
(id)sender method implemented
What documentation mentions such a method? I can not find it anywhere.
And it looks like an IBAction, not like a delegate-method of
UITextFieldDelegate.
but the didendediting notification is never sent and the
textFieldDone method is never called. I do not understand what I am
doing wrong here but I am hoping some one might be able to help
Implement
- (BOOL)textFieldShouldReturn:(UITextField *) aTextField
make [aTextField resignFirstResponder];
and return YES;
atze
_______________________________________________
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