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

kurkah

macrumors newbie
Original poster
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,
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.