iOS UILabel计算宽度和高度
摘要:1、根据文本计算size,这里需要传入attributes UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 100, 0, 0)]; label.text = @"12331afaa我是谁的谁"; label.textCo
阅读全文
posted @ 2018-09-21 17:46
posted @ 2018-09-21 17:46
posted @ 2018-09-20 10:07
posted @ 2018-09-19 17:02