Quantcast
Viewing latest article 8
Browse Latest Browse All 11

Answer by CZ54 for Prevent multiple Tap on the same UIButton

Using userInteractionEnable=false to prevent double tap is like using a Rocket Launcher to kill a bee.

Instead, you can use myButton.enabled=false.Using this, you may be able to change ( if you want ) the layout of your button when it is deactivated.


Viewing latest article 8
Browse Latest Browse All 11

Trending Articles



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