2016年6月25日

label 自适应宽 高

摘要: //初始化label UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0,0,0,0)]; //设置自动行数与字符换行 [label setNumberOfLines:0]; // 测试字串 NSString *str = @"\ 阅读全文

posted @ 2016-06-25 19:37 z-y 阅读(257) 评论(0) 推荐(0)

导航