tags:

views:

94

answers:

1

Hi i have a Button i want hold this button to write something but i don't know how can i recognize hold button , can you help me ? thank you

+5  A: 

TouchDownInside event triggered, start a NStimer. TouchUpInside event triggered, cancel the timer. Make the timer call your method to execute if the user holds the button : the timer delay will be the amount of time required to recognize hold.

Andiih
thank you andiih
Momeks