I followed the same procedure from Apple Documentation but i am facing some problem with dismissing the keyboard .
The code :
- (BOOL) textFieldShouldReturn: (UITextField *) theTextField
{
if(theTextField == self.textField)
{
[theTextField resignFirstResponder];
}
return YES;
}
I know this question has been asked many times here , but i could not find an appropriate answer or an solution for this , so only i am posting this question.