Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPad Safari touch events

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..

like image 249
hmthr Avatar asked May 13 '11 06:05

hmthr


2 Answers

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

like image 102
Petteri H Avatar answered Oct 12 '22 23:10

Petteri H


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

like image 45
Scott C Avatar answered Oct 13 '22 00:10

Scott C