How to recognize touch events and control a script object inside UIWebView?

Posted by Markus S. on Stack Overflow See other posts from Stack Overflow or by Markus S.
Published on 2010-04-09T11:21:15Z Indexed on 2010/04/09 11:23 UTC
Read the original article Hit count: 451

Filed under:
|
|
|
|

Situation: I have an UIView with an UIWebView in it. When the viewDidLoad the Javascript Object inside the UIWebView is called (Microsoft Seadragon AJAX JS).

For your Understanding: Seadragon loads a specified megapixel image(JPEG) and in a Desktop Browser like Firefox i can Zoom into the image and I can drag the crop for example from the middle to the left.

In the iPhone Simulator (for iPad) only the Zooming Function is working on one single tap but when i try to drag the crop (with left mouse button click and holding it) I'm dragging the whole UIWebView but not the crop of course!

Is that feature which the simulator isn't able to handle or what's yout solutin guys?

Special Thanks!!

P.S.: It's a bit jiggling when the zooming function of Seadragon is called. Is that authentic to the real performance of the iPad or does the simulator not have the power as the iPad has?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiwebview