ios - PDF: Unable to highlight selected word from UIWebView -


i doing book reading app. displaying every pdf in uiwebview. trying highlight selected word. failed. then, unable selected string pdf too.

my code:

webview.stringbyevaluatingjavascriptfromstring("window.getselection().tostring();") 

the above code working fine, when uiwebview content html. but, failed in pdf. kindly guide me, how highlight selected text colour?


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -