最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - IPad Safari touch events - Stack Overflow

programmeradmin2浏览0评论

Which all touch events are provided or detected by Mobile Safari browser in IPad?

Basically what all does webkit provide?

I am kind of looking for the native app (IOS SDK) equivalent of touchesBegan, touchesMoved, etc.. in Safari..

Which all touch events are provided or detected by Mobile Safari browser in IPad?

Basically what all does webkit provide?

I am kind of looking for the native app (IOS SDK) equivalent of touchesBegan, touchesMoved, etc.. in Safari..

Share Improve this question asked May 13, 2011 at 6:41 hmthrhmthr 7,9715 gold badges20 silver badges13 bronze badges
Add a comment  | 

3 Answers 3

Reset to default 7

Both iOS and Android browsers support touchStart, touchEnd and 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

And if you prefer jQuery, there is jQuery mobile: http://jquerymobile.com/demos/1.0a4.1/#docs/api/events.html

All mobile safari events, per Apple: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html

This project handles it brilliantly, used it myself.

http://cubiq.org/iscroll-4

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

View it on an iDevice.

发布评论

评论列表(0)

  1. 暂无评论