12207480 / TYAttributedLabel

TYAttributedLabel 简单,强大的属性文本控件(无需了解CoreText),支持图文混排显示,支持添加链接,image和UIView控件,支持自定义排版显示
MIT License
2.89k stars 570 forks source link

2.6.6版本设置textAlignment没有效果,不起作用 #123

Open ghost opened 6 years ago

ghost commented 6 years ago

2.6.6版本在设置text之前设置textAlignment是没有效果,不起作用的,必须先设置text,再设置textAlignment才有效果。我认为这是有问题的,不对,实际运用中都是先设置textAlignment,拿到数据后再设置text。