I created an application that displays some text in a UIWebview. I want to give the user the ability to double-click on a specific word to select it (a selection range should appear that appears only when a long touch is currently in progress).
I don't think UIWebView is flexible enough for what you want.
UIWebView
If everything you show is rich in text, you should probably use NSAttributedString and display it using subclasses of UITextView or one of the many highlighted libraries .
NSAttributedString
UITextView
Source: https://habr.com/ru/post/1369063/More articles:JTable row selection after updating TableModel - swingHow to define a DataGridViewRow from a DataRow, it is associated with - c #Changing V8 JavaScript Engine with Chrome - javascriptHow to get a DataRow from a row in a DataGridView - c #How can I change the text color of a UITableViewCell in this state? - objective-cAndroid Gridview - A line layout that is ignored - androidHow to determine which DataRow is bound to a DataGridViewRow - c #How can I improve this SQL query? - sqlLINQtoSQL and serialization - asp.netgiven node, how can I find the previous node in a single list - javaAll Articles