'swipe' event on iPad
Has anyone noticed that 'swipe' on iPad (and perhaps also on iPhone) doesn't work good? Sometimes event is just not fired, it has nothing to do with speed or duration of swipe.
This behavior is much more visible (and disturbing) on device, in simulator it swipes smoothly most of the times (but sometimes it also doesn't swipe in simulator).
Any ideas how to overcome this?
5 Answers
-
I have a bug that with swipe in landscape you must slide up and down.
and after 3 swipes it crashes.I dont have the chance to run on iPad yet, little bit further in development I will get a dev license
-
I have had similar situation. Now it works OK (left-right), but as I wrote: not always.
-
Yep! Same problem here!
Works perfectly in the simulator and very badly on the phone (Tried 3G, 3GS & 4).
One of the problems in my case was the fact the the swipe event get's triggered a gazillion times and not just once - during ONE swipe. The solution for this is simple, but the lack of triggering the swipe event consistently is not…
Event the event example in KS has this same problem. The swipe event doesn't trigger consistently.
/J
-
Last time i checked, swipe is not reliable and one should avoid using it. Often, it triggers at least twice or three times as much.
I use touchstart and touchend to determine directions instead, yes, a ton more codes but works flawlessly.
-
Filled ticket: https://appcelerator.lighthouseapp.com/projects/32238/tickets/1960-swipe-event-not-fired-on-ipad