摘要:
myLabel.minimumScaleFactor = 10.0;//默认值为0,为当前字体大小一、初始化1UILabel *myLabel = [[UILabel alloc] initWithFrame:CGRectMake(40, 40, 120, 44)];23[self.view addSubview:myLabel];二、设置文字①、设置默认文本1NSString *text = @"标签文本";2myLabel.text = text;效果:②、设置标签文本(ios6.0以后的编辑文字的信息,iOS6.0以前版本实现这个效果,需要使用到一个第三方库TTTAt 阅读全文
posted @ 2013-12-06 09:16
init
阅读(223)
评论(0)
推荐(0)
浙公网安备 33010602011771号