Open nebillo opened 4 years ago
As far I know the color of the links is set by the linkAttributes
property of the UITextView
/UILabel
instance where the text is placed. Are you sure it always works in such way?
hi @malcommac , just wanted to confirm that I'm experiencing same behavior as well.
linkAttributes
is a property of TTTAttributedLabel
, not UILabel
. I guess we should dig into that library and figure out how Mattt did that some years ago :)
Consider this snippet of code:
the expected outcome is a string where the word "@username" is rendered in big bold green text (with no underline) instead what I got is a text of the correct font but with blue and underline applied to it:
You can easily replicate this by making a test on a brand new project using the latest library version (3.7.1). Before noticing this issue we were using an old version (2.x) of the library and the default behaviour has always been the correct one described.
Can you help? thanks