文章分类 -  IOS应用开发控件

摘要:updateLabel = [[UILabelalloc] initWithFrame:CGRectMake(self.frame.size.width*0.3, RECOMMENDED_HEIGHT/2, 150, 40)];updateLabel.backgroundColor = [UIColorclearColor];updateLabel.font = [UIFontsystemFontOfSize:10];//自动换行updateLabel.lineBreakMode = UILineBreakModeWordWrap;//只显示两行设置为0表示不限制updateLabel.num 阅读全文
posted @ 2012-12-13 09:58 六界剑仙 阅读(122) 评论(0) 推荐(0)
摘要:- (void)viewDidLoad { UILabel*label1 = [[UILabelalloc]initWithFrame:CGRectMake(50.0,20.0,200.0,50.0)]; UILabel*label2 = [[UILabelalloc]initWithFrame:CGRectMake(50.0,80.0,200.0,50.0)]; UILabel*label3 = [[UILabelalloc]initWithFrame:CGRectMake(50.0,140.0,200.0,50.0)]; UILabel*label4 = [[UILabel... 阅读全文
posted @ 2012-10-23 11:01 六界剑仙 阅读(92) 评论(0) 推荐(0)