How can we disable the button in my iphone app?

Posted by wolverine on Stack Overflow See other posts from Stack Overflow or by wolverine
Published on 2010-04-13T15:16:27Z Indexed on 2010/04/13 15:23 UTC
Read the original article Hit count: 281

Filed under:
|

In my application, there is one button in the navigation bar. I want it to work only for the 1t click of the user. If he continousally presses on it 2 or 3 times just after the 1st click the button shouldnt recieve the following ones. How can I do this?

My app always crashes if the user presses it for more than once. I dont want to make it multithread and use lock. Thats why i want to know whether there is anyother alternative.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uibutton