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

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

filehandler - java open files not cleaned, even when the process is killed -

gridview - Yii2 DataPorivider $totalSum for a column -