2019独角兽企业重金招聘Python工程师标准>>>
UILabel *infolabel = [[UILabel alloc] initWithFrame:CGRectMake(30*RATIO,260*RATIO, self.view.bounds.size.width-60*RATIO, 20*RATIO)];infolabel.text = @"info@imcba.com";infolabel.textColor = [UIColor whiteColor];infolabel.font = [UIFont systemFontOfSize:12*RATIO];infolabel.userInteractionEnabled = YES;NSMutableAttributedString *content = [[NSMutableAttributedString alloc]initWithString:[NSString stringWithFormat:@"info@imcba.com"]];NSRange contentRange = {0,[content length]};[content addAttribute:NSUnderlineStyleAttributeName value:[NSNumber numberWithInteger:NSUnderlineStyleSingle] range:contentRange];infolabel.attributedText = content;[self.view addSubview:infolabel];