I'm using WKWebView to load local txt file. After load succ, long press tap on text, text selection and UIMenuController will appear. The color of text selection rect is default(blue), how can I change it?
I have used code blow but it doesn't work.
webView.tintColor = .red
Any help would be appreciated.