Author Topic: UIbutton double tap  (Read 4731 times)

kittikun

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 5
  • Posts: 46
    • View Profile
UIbutton double tap
« on: August 08, 2014, 07:30:49 AM »
Hi,

Is there a way to prevent double tapping on a button ? Or do I need to edit all buttons to include a state check or create a variant of UIButton ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIbutton double tap
« Reply #1 on: August 08, 2014, 08:58:26 AM »
I'm not quite sure what to prevent there... the message? Not sure why, since you can just ignore it... second tap too close to the first one? If so you will need to do that via code in your OnClick handling function. Instead of just doing your logic, check to see if enough time has passed first.