摘要:
label=[[UILabel alloc]initWithFrame:CGRectZero];[label setText:text];[label setLineBreakMode:UILineBreakModeWordWrap];[label setMinimumFontSize:FONT_SIZE];//设置根据label大小换行[label setNumberOfLines:0];[label setFont:[UIFont systemFontOfSize:FONT_SIZE]];[label setTag:1];//边框[[label layer]setBorderWidth:2 阅读全文