Really dumb graphics question

Discussion in 'iOS Programming' started by Buckeyes1995, Oct 3, 2011.

  1. Buckeyes1995 macrumors member

    Joined:
    Mar 4, 2011
    #1
    Probably a pretty simple question to answer...

    I created a Mac-like dock to via Photoshop to use in my app; following one of the Youtube tutorials. First created the rectangle on a transparent background.. did the beveling, etc.. looks great. The problem is.. when I insert the image into an Imageview, the two corners where the dock slants in are filled white instead of transparent. So I have a nice looking dock in my app, but with two white triangles where the image angles in to look like a 3D Dock.

    Is there a certain format of graphic file I need to use so that only the true graphic image is shown, and not the dock with the corners filled in?

    Thanks.
     
  2. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    .png.. And maybe try setting the opacity of the background to 0% etc? Because I think it's rather a coding/UI Question from Xcode/IOS.
     

Share This Page