读书人

合适显示时间的字体

发布时间: 2012-06-28 15:20:04 作者: rapoo

适合显示时间的字体

? ??UILabel?*label = [[UILabel?alloc]?initWithFrame:CGRectMake(0,?50,?320,?300)];

? ? label.font?= [UIFont?fontWithName:@"DBLCDTempBlack"?size:128.0];

? ? label.backgroundColor?= [UIColor?colorWithRed:1?green:1?blue:1?alpha:0];

? ? label.text?=?@"10:32";

? ? label.textColor?= [UIColor?greenColor];

? ? [self.view?addSubview:label];

读书人网 >移动开发

热点推荐