标签:ios uitextfield
- (void)awakeFromNib { [_textField addTarget:self action:@selector(textFieldEditChanged:) forControlEvents:UIControlEventEditingChanged]; } - (void)textFieldEditChanged:(UITextField *)textField { if (_blockValueChanged) { _blockValueChanged(textField,[textField text]); } }
UITextField监听事件,布布扣,bubuko.com
标签:ios uitextfield
原文地址:http://blog.csdn.net/rainlesvio/article/details/38305697