Cor da torneira do link para TTTAttributedLabel
Estou usando um TTTAttributedLabel no meu projeto. Consegui alterar a cor padrão e o sublinhado de qualquer link que eu crie modificando os atributos do link.
NSArray *pKeys = [[NSArray alloc] initWithObjects:(id)kCTForegroundColorAttributeName,
(id)kCTUnderlineStyleAttributeName
, nil];
NSArray *pObjects = [[NSArray alloc] initWithObjects:pAlertColor,[NSNumber numberWithInt:
kCTUnderlineStyleNone], nil];
NSDictionary *pLinkAttributes = [[NSDictionary alloc] initWithObjects:pObjects
forKeys:pKeys];
self.alertMessage.linkAttributes = pLinkAttributes;
self.alertMessage.activeLinkAttributes = pLinkAttributes;
No entanto, notei que, quando toco no link, ele fica vermelho momentaneamente, como qualquer outro link quando é tocado. Eu preciso mudar essa cor. Alguma pista de como isso pode ser feito?