1:首先
- [textField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];
2:其次
- -(void)textFieldDidChange :(UITextField *)theTextField{
- NSLog( @"text changed: %@", theTextField.text);
- }
2022-12-05 07:48:14
1:首先
2:其次