UITextField限制输入的字符个数。比如输入手机号时,只能是11位
摘要:
- (void)setupTextField{ UITextField *tf = [[UITextField alloc] init]; tf.keyboardType = UIKeyboardTypeNumberPad; tf.frame = CGRectMak... 阅读全文
posted @ 2015-12-28 22:19
森code
阅读(1286)
评论(0)
推荐(0)
浙公网安备 33010602011771号