Pop up image(s)

Discussion in 'iOS Development' started by Death•Magnetic, Jun 3, 2009.

  1. Death•Magnetic

    Death•Magnetic New Member

    Joined:
    Jun 3, 2009
    Messages:
    4
    Likes Received:
    0
    How would I have images pop up and then close when touched
    e.g. I want to have an image pop up with instruction, and then go away when the user simply touches any part of the image.

    any help would be great, ty

    ~dM
  2. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Create a UIImageView, set user interaction enabled to YES on it, display it, and then remove it from its superview when you get a touch notification on it.

Share This Page