简体   繁体   English

IPad Safari触摸事件

[英]IPad Safari touch events

Which all touch events are provided or detected by Mobile Safari browser in IPad? 哪些触摸事件由iPad中的Mobile Safari浏览器提供或检测?

Basically what all does webkit provide? 基本上webkit提供的是什么?

I am kind of looking for the native app (IOS SDK) equivalent of touchesBegan, touchesMoved, etc.. in Safari.. 我有点想在Safari中找到相当于touchesBegan,touchesMoved等的本机应用程序(IOS SDK)。

Both iOS and Android browsers support touchStart, touchEnd and touchMove: http://backtothecode.blogspot.com/2009/10/javascript-touch-and-gesture-events.html iOS和Android浏览器都支持touchStart,touchEnd和touchMove: http ://backtothecode.blogspot.com/2009/10/javascript-touch-and-gesture-events.html

Detecting multitouch events seems to be possible on iOS: http://www.html5rocks.com/mobile/touch.html 在iOS上可以检测到多点触控事件: http//www.html5rocks.com/mobile/touch.html

And if you prefer jQuery, there is jQuery mobile: http://jquerymobile.com/demos/1.0a4.1/#docs/api/events.html 如果你更喜欢jQuery,那就有jQuery mobile: http//jquerymobile.com/demos/1.0a4.1/#docs/api/events.html

This project handles it brilliantly, used it myself. 这个项目非常出色地处理它,我自己使用它。

http://cubiq.org/iscroll-4 http://cubiq.org/iscroll-4

http://cubiq.org/dropbox/iscroll4/examples/simple/ http://cubiq.org/dropbox/iscroll4/examples/simple/

View it on an iDevice. 在iDevice上查看它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM