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

Answer by CZ54 for Prevent multiple Tap on the same UIButton

$
0
0

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 all articles
Browse latest Browse all 11

Trending Articles