The detected links on a UITextView are always blue. There\'s no way to directly change this. But can I overlay some sort of filter which changes blue to, for instance, red?<
There's actually a way to do this with private API.
A UITextView has a (single) subview of class UIWebDocumentView, with the selector setUserStyleSheet:.
The following code should change the color of the links to green. At least, it worked for me! :)
for (UIView *subview in textView.subviews) {
[subview setUserStyleSheet:@"a { color: #00FF00; }"];
}
I know this is really late, but hours of Googling got me no where, so I thought I'd share this.