how to enter text into uitextfield

Posted by adnan on Stack Overflow See other posts from Stack Overflow or by adnan
Published on 2012-11-14T08:37:52Z Indexed on 2012/11/14 11:00 UTC
Read the original article Hit count: 155

Filed under:
|
|

I have implemented the delegates for UITextField and also method for these text field. Below are the methods:

- (void)textFieldDidBeginEditing:(UITextField *)textField
{
    [textField resignFirstResponder];
}



- (BOOL)textFieldShouldReturn:(UITextField *)aTextField
{

    [aTextField resignFirstResponder];
    return YES;
}

My problem is that when I want to enter text into UITextField its delegate does not allow me to enter the text into textfields. Kindly tell me how i can enter the data into textfields

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c