Open zuqiu123 opened 2 years ago
Hi @zuqiu123, and thanks for your report. Unfortunately, I think this is a limitation of UITextView
/UILabel
, where it won't let you override the color of individual links. I don't know if TTTAttributedLabel supports multicolored links within the same attributed string, but it's worth a look.
You might try this as well, although I haven't tested it either https://github.com/zacwest/ZSWTappableLabel
Two links are set. If you do not set this sentence,
they will all show blue. After setting, they will all turn yellow. How to set two different colors, and you can click the link,please help