Hi all,
I know this keyboard retract has been asked a lot but I have a strange issue related to this. My view has 3 UITextFields all connected fine in the Interface Builder.
I tap on any TextField and the keyboard appears. When I'm done typing, I tap 'Done' and the keyboard retracts. This is all nice but sometimes, I mean SOMETIMES, the keyboard doesn't retract anymore and tapping 'Done' hasn't any effect at all. The app doesn't crash or anything.
I dismiss the keyboard when I press 'Done' in textFieldShouldReturn: method in which I do the following:
`
if (textField == emailAddres || textField == pwd || textField == nickName)
{
if ([textField isFirstResponder])
{
[textField resignFirstResponder];
}
else
{
NSLog(@"NOT FIRST RESPONDER!!");
}
}
return YES;
`
I debugged this when occurs and I noticed the even though when tapping Done refuses to dismiss the keyboard, the app still calls resignFirstResponder....
Can anyone give me some hints? Did I missed anything?
Thanks in advance.