2018年9月21日

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 7890陈 阅读(351) 评论(0) 推荐(0)

导航