We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92227e5 commit 48008fdCopy full SHA for 48008fd
examples/FirebaseUIChat/FirebaseUIChat/ViewController.m
@@ -61,6 +61,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
61
-(BOOL)textFieldShouldReturn:(UITextField *)textField;
62
{
63
[[self.ref childByAutoId] setValue:@{@"name": @"iOS User", @"message": textField.text}];
64
+ [textField resignFirstResponder];
65
textField.text = @"";
66
return YES;
67
}
0 commit comments