AliSoftware / AliSoftware/OHAttributedLabel
Setting text color on links doesn't work in 3.5.3
Ouverte
- Langage dominant
- Objective-C
- Étoiles
- 1.5k
- Forks
- 341
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Setting the text color on links in 3.4.3 works as expected, so this must be a new bug.
Here's the code I am using.
```
NSMutableAttributedString* addressStr = /*...*/;
NSRange someRange = /* range */;
[addressStr setLink:[NSURL URLWithString:@"location://store"] range:someRange];
[addressStr setTextColor:[UIColor clearColor] range:someRange];
addressStr.userInteractionEnabled = NO;
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.