views:

80

answers:

1

If I holds the finger on a word displayed in web view, highlight the word with corner anchors to allow me to stretch the selection across a span of words. Once a block of text is highlighted, it gives me the option to copy text.

Can i get that highlighted text without coping it?

Thanks in advance

+1  A: 

This one worked for me: Cocobuilder archive

In short, you need:

[[myWebView selectedDOMRange] toString];
piobyz