PDA

View Full Version : UIButton




kurkah
Apr 6, 2011, 01:23 PM
Hi,

Is it possible to check when a button is pressed and released?

I wanted to do something when the button is pressed and something else when its released?
Let's say print press began when the button at the first touch and print button released when it is released.


Thanks,



Sykte
Apr 6, 2011, 09:34 PM
Hi,

Is it possible to check when a button is pressed and released?

I wanted to do something when the button is pressed and something else when its released?
Let's say print press began when the button at the first touch and print button released when it is released.


Thanks,

Yes.

nickculbertson
Apr 6, 2011, 09:36 PM
Yes. Connect your touch down to touchdown and release to touch up inside and touch drag outside.

Nick

kurkah
Apr 7, 2011, 05:08 AM
Thanks Guys. knew it would be that simple. Cheers.