Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIWebView unable to select text [duplicate]

User unable to select text in some documents loaded into web-view, so "copy, define..." actions doesn't show up.
What can be a reason to this behaviour?

Edit: For some documents, this same web-view normally select text, so I think the problem is with html-document.

like image 277
Alexander Avatar asked Nov 13 '22 02:11

Alexander


1 Answers

try check the "User Interaction Enabled" for UIWebView on IB or

[webview setUserInteractionEnabled: YES];
like image 189
stosha Avatar answered Nov 15 '22 07:11

stosha