再UITextField的代理方法中添加类似如下代码
- (BOOL)textField:(UITextField *)textField
shouldChangeCharactersIn {
} |
|
来自: 爽行天下丶 > 《iOS遇到问题处理》