Quantcast
Channel: Prevent multiple Tap on the same UIButton - Stack Overflow
Viewing all articles
Browse latest Browse all 11

Answer by Govani Dhruv Vijaykumar for Prevent multiple Tap on the same UIButton

$
0
0

I did it like this

var callInProgress = falsefunc call(){   if callInProgress == true{     return   }   callInProgress = true  //Make it false when your task done}

it will not allow user to call the function one more time untill you make callInProgress false

This is the only thing working


Viewing all articles
Browse latest Browse all 11

Trending Articles



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