Need some help with a problem dealing with onscreen pictures

Discussion in 'iOS Programming' started by rushdown, Mar 6, 2011.

  1. rushdown macrumors newbie

    Mar 6, 2011
    I need help writing a program for the iPhone. Right now, we have a program with some pictures on it. What we're trying to accomplish is when if you touch and hold one of the pictures, other specific pictures are supposed to look different. And then when you stop pressing the picture, the other pictures that looked different are supposed to return to their original look.

    For example, let's pretend that there 3 pictures on a screen-Picture A, Picture B, and Picture C. When the user places and holds their finger on Picture A, we want Picture B to change the way it looks while Picture C stays the same. Then, when the user stops putting their finger on Picture A, then Picture B returns to what it looked like originally and Picture C remains unaffected.
  2. nickculbertson macrumors regular


    Nov 19, 2010
    Nashville, TN
    Create two IBActions for each image, 1 for your touch down and 1 for touch up inside (release).


Share This Page