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

label设置autoHeightRatio 有enjoy时计算不中 #118

Closed davidloveengles closed 7 years ago

davidloveengles commented 8 years ago

用NSTextAttachment给label添加属性文本 自适应高度很不准

davidloveengles commented 8 years ago

label.isAttributedContent = YES 设置之后就好了 怪我没好好看代码

carlosbdw commented 7 years ago

多谢

gsdios commented 7 years ago

YES!