Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

yaniv92648

macrumors member
Original poster
Oct 26, 2009
96
0
Hi,
I have a UISwitch with IBAction method "toggleSwitch". when i toggle the switch "ON" a UITextField gets it's content plus 1000, when i toggle the switch "OFF" a UITextField gets it's content minus 1000. starting from zero, if u double press the switch then there's 2000. how can i block double pressing on a UISwitch?
Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.