Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (multitouch)
Viewing all articles
Browse latest Browse all 15

Prevent multitouch

$
0
0

Hi

Is there any way to prevent multitouch?

I am having image gallery and I have created it with array of images.

I have temporary solved with temp variable.

var tIstouchStart = true;
aMyImageArray[i].addEventListener ('click', function (e) {
 
            if (!tIstouchStart)
                return;
            tIstouchStart = false; // set false
 
            //My logic
 
            tIstouchStart = true; // agin set to true after execution
 
 
});
But still with this above solution, I can not 100% prevent multitouch.

Is there any property or event in titanium which prevents multitouch throughout my application?

I am using alloy framework and my titanium sdk version is 3.2.0 GA.

Any help will be appreciated.

Thanks, Krupa Patel


Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>