AliSoftware / AliSoftware/OHAttributedLabel

Setting text color on links doesn't work in 3.5.3

Aperta
#167 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.