如何以减少的字体大小制作文本 UILabel
如果一个 UILabel 包含太多的文本,如何调整我的标记,以便降低字体大小?
这就是我如何配置我的 UILabel:
这就是我如何配置我的 UILabel:
descriptionLabel = [[UILabel alloc] initWithFrame:CGRectMake/200, 30, 130, 150/];
[descriptionLabel setFont:[Utils getSystemFontWithSize:14]];
[descriptionLabel setBackgroundColor:[UIColor clearColor]];
[descriptionLabel setTextColor:[UIColor whiteColor]];
descriptionLabel.numberOfLines = 1;
[self addSubview:descriptionLabel];
没有找到相关结果
已邀请:
4 个回复
小明明
赞同来自:
在模拟器上测试并检查以下示例。 iPhone 3.1.2:
詹大官人
赞同来自:
http://www.11pixel.com/blog/28 ... hone/
的 11 Pixel Studios/:
小明明
赞同来自:
http://developer.apple.com/iph ... 3-SW8
价值 YES.
龙天
赞同来自: