摘要: 不允许textField输入空格
- (void)reTextFieldDidChange:(UITextField *)textField{
DLog(@"输入的文字为===========%@",textField.text);
//
textField.text = [textField.text stringByReplacingOccurrencesOfString:@" " withString:@""];
}
© 著作权归作者所有