iphone - How to disable Copy and Paste in UIWebView -



iphone - How to disable Copy and Paste in UIWebView -

when user long-press within uiwebview, there re-create & paste popup. possible disable scheme popup re-create & paste function, still allow user click on links , goto new pages?

you can seek injecting javascript webview. code works on iphone when page loaded. http://javascript.internet.com/page-details/disable-text-selection.html or http://solidlystated.com/scripting/proper-way-to-disable-text-selection-and-highlighting/

to work when page half loaded or still loading you'll proably have utilize setup similar 1 inject disabling javascript start selecting. http://www.icab.de/blog/2010/07/11/customize-the-contextual-menu-of-uiwebview/

uiwebview without copy/paste , selection rectangle when showing documents

iphone uiwebview uigesturerecognizer

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -