AliSoftware / AliSoftware/OHAttributedLabel
Setting text color on links doesn't work in 3.5.3
Aperta
- Lingua principale
- Objective-C
- Stelle
- 1.5k
- Fork
- 341
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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;
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.