摘要: - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string;{ if ([string isEqualToString:@"n"]) { return YES; } NSString * toBeString = [textField.text stringByReplacingCharactersInRange:range withString:string]; //... 阅读全文
posted @ 2014-01-09 16:14 菜鸟程序猿 阅读(547) 评论(0) 推荐(0) 编辑