Help with changing imageViews when tapped

Discussion in 'iOS Development' started by abotsch31, Jun 27, 2009.

  1. abotsch31

    abotsch31 Banned

    Joined:
    Feb 9, 2009
    Messages:
    31
    Likes Received:
    0
    Hey, I have created an app with three tabs, two being webviews and the other I am wanting something more specific...

    I am wanting to be able to put a large number of pictures on this view where the user taps the screen and it changes to the next picture. I am wanting to do this in a way so that I don't have to make a new nib for every picture.

    How would I go about doing this?
    Does anybody know any tutorials that might be good to look at for this?

    Thanks
    Abotsch31
  2. hitman2992

    hitman2992 New Member

    Joined:
    Dec 10, 2007
    Messages:
    123
    Likes Received:
    0
    Device:
    iPhone 3GS (Black)
    why would you want to make a new nib for each picture that is so inefficient.
  3. abotsch31

    abotsch31 Banned

    Joined:
    Feb 9, 2009
    Messages:
    31
    Likes Received:
    0
    exactly, that's why I don't want to create multiple nibs!!!
  4. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Nibs are evil. Use code.
  5. abotsch31

    abotsch31 Banned

    Joined:
    Feb 9, 2009
    Messages:
    31
    Likes Received:
    0
    I agree, does anyone have some input on how I may go about this then?
  6. bddckr

    bddckr Active Member

    Joined:
    Dec 2, 2007
    Messages:
    1,434
    Likes Received:
    18
    Device:
    iPhone 4 (Black)
    UIImageView subclass. Touch starts a nice animation which will change your pic and eventually fade it so it looks good.

Share This Page