How can I recognize touch events using jQuery in Safari for iPad? Is it possible?

前端 未结 8 2057
抹茶落季
抹茶落季 2020-11-22 13:09

Is it possible to recognize touch events on the iPad\'s Safari browser using jQuery?

I used mouseOver and mouseOut events in a web application. Are there any simila

8条回答
  •  生来不讨喜
    2020-11-22 13:13

    I was a little bit worried about using only touchmove for my project, since it only seems to fire when your touch moves from one location to another (and not on the initial touch). So I combined it with touchstart, and this seems to work very well for the initial touch and any movements.

    
    
    X: 
    0
    Y:
    0

提交回复
热议问题