Masking one image through to another

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

  1. poomah

    poomah
    Expand Collapse
    iPF Noob

    Joined:
    May 29, 2011
    Messages:
    1
    Thanks Received:
    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

    iPadTester
    Expand Collapse
    iPF Noob

    Joined:
    May 26, 2011
    Messages:
    7
    Thanks Received:
    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

    MichaelBranton
    Expand Collapse
    iPF Noob

    Joined:
    Jun 2, 2011
    Messages:
    3
    Thanks Received:
    0
    You can do this with two UIImageView controls and CoreAnimation effects.
     

Share This Page