You would typically assign your view controller as the text field’s delegate and then implement the textFieldShouldReturn:
method, e.g.:
- (BOOL)textFieldShouldReturn:(UITextField *)textField {
otherTextField.text = @"World"
return YES;
}
You would typically assign your view controller as the text field’s delegate and then implement the textFieldShouldReturn:
method, e.g.:
- (BOOL)textFieldShouldReturn:(UITextField *)textField {
otherTextField.text = @"World"
return YES;
}