3

My app has a UIWebView that allows the user the surf the web (big surprise). I want to be able to recognize the word the user taps on.

I can recognize the HTML element being tapped on using document.elementFromPoint but I want to recognize the specific word or sentence.

Is there any way to do that?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
YogevSitton
  • 10,068
  • 11
  • 62
  • 95
  • 1
    Perhaps this would help: http://stackoverflow.com/questions/2444430/how-to-get-a-word-under-cursor-using-javascript – Arkku Nov 20 '13 at 12:01

0 Answers0