I have a weird problem: I have a TTTAttributedLabel with a link in it:
The name "bryan"is the link. When a UIAlertView
is presented over this label, the font of the link changes:
As you can see the link lost its font size and weight. Has anyone seen this before? Is there a separate font attribute for "link in background" or something? Thanks.
This happens when you create a link, then set linkAttributes
. When the UIAlertController is presented the link becomes "inactive", and it reverts back to a default style. Setting inactiveLinkAttributes
fixed this.
Source: https://github.com/TTTAttributedLabel/TTTAttributedLabel/issues/542
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With