I'm using a native scroller for both Android and iOS. I track the mouseDown position and the mouseUp position to see if the swipe is vertical or horizontal. Vertical causes a scroll, horizontal is a swipe. This works on Android.

On iOS the mouseDown isn't registered fast enough and swiping doesn't work unless you hold down for a second before continuing the swipe. I think this must be related to the iOS-only properties delayTouches and/or canCancelTouches but I've tried combinations of both without success.

To complicate matters I also need to track long presses but I don't think that's related, and it's working.

Does anyone have an example of an iOS scroller handler that both scrolls and swipes smoothly?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to