UIButton

Discussion in 'iOS Programming' started by kurkah, Apr 6, 2011.

  1. macrumors newbie

    Joined:
    Apr 22, 2010
    Location:
    U.K.
    #1
    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,
     
  2. macrumors regular

    Joined:
    Aug 26, 2010
    #2
    Yes.
     
  3. macrumors regular

    nickculbertson

    Joined:
    Nov 19, 2010
    Location:
    Nashville, TN
    #3
    Yes. Connect your touch down to touchdown and release to touch up inside and touch drag outside.

    Nick
     
  4. thread starter macrumors newbie

    Joined:
    Apr 22, 2010
    Location:
    U.K.
    #4
    Thanks Guys. knew it would be that simple. Cheers.
     

Share This Page