views:

68

answers:

2

Hello guys.

I am making iphone application with Xcode. I create a webView to load a web page. I load the following link:

http://devfiles.myopera.com/articles/649/example3.html

If I open that link by browser on computer, we can draw by mouse.

But on iPhone, the browser itself screen is moving. So I can not draw on it.

Please tell me the reason and solution to resolve it. (I want iphone browser unmoving and I can draw on it)

Thank all.

A: 

You need to use Mobile Safari's event model.

SLaks
Do you have any example (source code) about it?
haicnpmk44
A: 

use event.preventDefault()

Shawn