Glass like overlay or view

Discussion in 'iOS Programming' started by printf, Aug 2, 2009.

  1. printf macrumors regular

    Joined:
    Aug 27, 2008
    #1
    when you go into your photo album and choose an image and touch it once to bring up a bottom tab bar (or whatever it's called) and if you click on the far-left icon it brings up a glass overlay (i don't know what else to call it) which has some buttons on it to use as wallpaper, email photo, etc.

    i want to create one of these and maybe put some other controls on it. how do i do this? i can't find anything like this in interface builder.
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    Looks like a black translucent toolbar to me.
     
  3. printf thread starter macrumors regular

    Joined:
    Aug 27, 2008
    #3
    it looks that way to me too, but when you drag an instance into your view, you're only able to resize it's width, not height. and buttons can only be placed to the side of one another, not on top like my example :)
     
  4. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    Ah, sorry. The overlay (with the Email Photo, etc. buttons) you are referring to is, I believe, an UIActionSheet.
     
  5. printf thread starter macrumors regular

    Joined:
    Aug 27, 2008
    #5
    oh i see, so this is meant to be created programmatically at runtime, along with the buttons! thanks :)

    out of curiosity, does apple provide a central location for all these types of components with usage examples? i'm now concerned there are many others that i might be able to use, but just simply don't know about, and the developer documentation doesn't seem suitable for finding this information. all i know about is what i see in interface builder.
     
  6. printf thread starter macrumors regular

    Joined:
    Aug 27, 2008
    #6
    nevermind, i just found the sample code repository. :)
     
  7. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #7
    Also, make sure you have read the iPhone Application Programming Guide as well as the iPhone Human Interface Guidelines.
     

Share This Page