Really dumb graphics question

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

  1. Buckeyes1995 macrumors member

    Mar 4, 2011
    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?

  2. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    .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