在iPhone上的UIWebView中检测HTML5上的触摸 [英] Detecting touches on an HTML5 in a UIWebView on the iPhone
本文介绍了在iPhone上的UIWebView中检测HTML5上的触摸的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以在iPhone上的UIWebView中检测HTML5上的触摸?
Is it possible to detect touches on an HTML5 in a UIWebView on the iPhone?
推荐答案
是;有几种方法和框架可以帮助你做到这一点:
Yes; there are several ways and frameworks which help you do this:
- jQuery Mobile
- jQTouch
- 使用像ontouchend / ontouchstart / ontouchmove这样的事件
这两个移动框架非常简单,应该能够快速前进。
Both of those mobile frameworks are pretty straight forward, should be able to get going rather quick.
祝你好运!
这篇关于在iPhone上的UIWebView中检测HTML5上的触摸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文