Closed iamnanyi closed 8 years ago
https://github.com/ibireme/YYText#文本高亮
YYTextHighlight *highlight = [YYTextHighlight new];
[highlight setColor:[UIColor whiteColor]];
谢谢,我试过了,这样只改变了点击后的颜色,我找到了其他方法 [attributedText yy_setTextHighlight:highlight range:range];
能否只改变高亮文本的颜色?