摘要:
-(BOOL) isValidateMobile:(NSString *)mobile{ //手机号以13, 15,18开头,八个 \d 数字字符 NSString *phoneRegex = @"^((13[0-9])|(15[^4,\\D])|(18[0,0-9]))\\d{8}$"; N... 阅读全文
摘要:
#pragma mark - 显示超过11位不让输入- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string... 阅读全文
摘要:
#pragma mark - 显示超过11位不让输入- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string... 阅读全文
摘要:
//按钮边框宽度 [_numberButton.layer setBorderColor:[UIColor colorWithRed:28/255.0 green:162/255.0 blue:66/255.0 alpha:1].CGColor]; [_numberButton.layer se... 阅读全文
摘要:
NSMutableAttributedString * string = [[NSMutableAttributedString alloc] initWithString:@"立即注册"]; NSRange strRange = {0,[string length]}; [string a... 阅读全文