gsdios / SDAutoLayout

One line of code to implement automatic layout. 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于做最简单易用的AutoLayout库。The most easy way for autoLayout. Based on runtime.
MIT License
5.9k stars 1.28k forks source link

如果lable里面的字体是\n换行符,高度计算不正确 #326

Closed gongkuihua closed 4 years ago

gongkuihua commented 4 years ago

如果lable里面的字体是\n换行符,高度计算不正确

gsdios commented 4 years ago

demo里面有包含\n的字符串计算高度没有发现问题,再检查下你的程序;或者把你的字符串发出来我测试下