I've tried using setTintColor
on my UIWebView
instance, UIView
appearance, and UIWebView
appearance, but none of them are changing the caret color in a UIWebview
.
This works fine with native textarea
s and whatnot, but not in the UIWebview
. Has anyone been able to change the color of the UIWebView
caret?
Thanks
Setting the Tint color for UIWebview will not work for text highlighting. All you can do is set the background color of that text and then remove it by using javascript. Here's the Link having the Best solution to this problem.