views:

26

answers:

1

I am using a UIWebview to display local .html. I want to disable longpress in this view. How would I go about executing this? Right now this: http://yfrog.com/498jxej shows up and I want to avoid that.

Here is what fixed it:

<style media="screen" type="text/css">

body {
  -webkit-touch-callout: none;
}
</style>
+2  A: 

Add this to your CSS:

body {
  -webkit-touch-callout: none;
}
MattLeff
Thanks, I had tried something similar, but this did the trick.