Closing UITextField keypad
hey im having a problem with my textfield closing when hitting the DONE button. i have entered this code into my MainView.m file
-(BOOL) textFieldShouldReturn UITextField *)textFeild{
[textFeild resignFirstResponder];
return YES;
}
but it doesnt seem to close the keypad still... any suggestions? thanks a lot!!!
Livin the iPhone Life
I'm just going to throw this out there. You spelled 'field' wrong halfway through that.
or maybe that's how it is. I dunno, just guessing.
Last edited by 461am; 11-13-2008 at 11:29 PM .
Reason: Automerged Doublepost
Ohh your right! but i changed it to the correct spelling and still no change! I'm so frustrated!!
Hey what is the keyboard type u are using....if u use a keyboard other than default there is no return button, so an alternative such as a button or touches u got to use to do the resignFirstResponder on the textfield instance.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules