Lable得到自定义高度!

方法1(系统):CGSize declabesize = [_questionDecLabel.text boundingRectWithSize:CGSizeMake(CGRectGetWidth(_questionDecLabel.frame), MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName:_questionDecLabel.font} context:nil].size;

posted @ 2015-04-19 20:22  牵着蜗牛走的我  阅读(134)  评论(0编辑  收藏  举报