windkisshao windkisshao - 2 years ago 104
iOS Question

why TTTAttributedLabel doesn't show last line content after some special symbols on IOS?

This is the correct format on Android:

the correct view style on Android

But the content of last line doesn't show up on iOS:

the wrong way on IOS

I tried method below still not work:

[_contentLab setText:str afterInheritingLabelAttributesAndConfiguringWithBlock:^NSMutableAttributedString *(NSMutableAttributedString *mutableAttributedString) {
return mutableAttributedString;

Answer Source

Github - TTTAttributedLabel issue

Use TTTAttributedLabel Version 1.8.1 to avoid truncation issues.

Or better, I would advice trying which is a project without this issue.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download