摘要:UILabel详解//1.创建UIlabelUILabel*label1 = [[UILabelalloc] initWithFrame:CGRectMake(20,40, 280, 80)];//2.设置背景色label1.backgroundColor = [UIColorgrayColor];//3.设置taglabel1.tag =91;//4.设置标签文本label1.text =@"Hello world!";//5.设置标签文本字体和字体大小label1.font = [UIFontfontWithName:@"Arial" size:30
阅读全文
posted @ 2013-10-13 15:06
浙公网安备 33010602011771号