I try to hide keyboard on iPad but I don't know why resignFirstResponder don't work. But popToRoot has work well.
- (BOOL)textFieldShouldReturn:(UITextField *)textField
{
NSString *desc = [NSString stringWithFormat:@"%@",[descTF text]];
[textField resignFirstResponder];
[self.navigationController popToRootViewControllerAnimated:YES];
return YES;
}
So Could you guide me what should I do please ??