0

I am building an app for iPhone that has JavaScript running in a webview. When the new auto-select block selection tool is used to select text, and the block is resized from the side, it makes my JavaScript freak out. Does anyone know a way to disable the copy/paste for block selection? I still need to be able to select the text, just not using the big selection tool.

Thanks

1 Answer 1

2

To my knowledge, there is nothing in the UIWebView API to allow this. Your best bet is probably to tweak it from the JS side of things.

1
  • this is the closest thing i could find to a real answer lol. I think I figured it out though, the block selection sometimes adds either a line return or just lots of whitespace at the end of the selection, which can cause things to hiccup, so if anyone else comes across this problem, that is probably it
    – G. Shearer
    Jun 19, 2010 at 21:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.