Masking one image through to another

Discussion in 'iPad Development' started by poomah, May 29, 2011.

  1. poomah
    Offline

    poomah iPF Noob

    Joined:
    May 29, 2011
    Messages:
    1
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    For part of an app I have what I think should be an easy task but I don't even know where to start. I need to bring up two images and based on where the user is touching create a mask through to reveal the image underneath. If you know of a direction to point me that would be appreciated.
  2. iPadTester
    Offline

    iPadTester iPF Noob

    Joined:
    May 26, 2011
    Messages:
    7
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    germany
    Ratings:
    +0 / 0
    A very simple solution is to setup a set of buttons that have no background so the user does not see them.
    Each button then when tapped causes the relevant texture to be rendered.
  3. MichaelBranton
    Offline

    MichaelBranton iPF Noob

    Joined:
    Jun 2, 2011
    Messages:
    3
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    USA
    Ratings:
    +0 / 0
    You can do this with two UIImageView controls and CoreAnimation effects.

Share This Page