.png files not showing up in device

Discussion in 'iOS Programming' started by StefanDevil, Aug 29, 2010.

  1. StefanDevil macrumors member

    Jul 31, 2010
    ok, i set some .png files image as uimage in my table cell. they show up nicely when i run them using iphone simulator. when i run them in my device, they up not show up. what seems to be the problem?

    i only "error" i got is unable to debug when i install my app to my device, which shouldn't be a problem as i never set for debug.

    does anyone knows why?

    thks in advance!

    problem solve :)
  2. bredell macrumors regular

    Mar 30, 2008
    Uppsala, Sweden
    Check the case of your file names. The files "MyPic.png", "Mypic.png" and "mypic.png" are all the same when running on the simulator, but different when running on the device.
  3. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    Also, make sure you've copied the files to the app bundle and aren't just referencing them.
  4. sherry2009 macrumors newbie


    Dec 14, 2009
    .png's problem

    once,i also had the same problem,png can show up in iPhone Simulator,but it can't show up in device,because that png has some elements which the device can't identify
  5. StefanDevil thread starter macrumors member

    Jul 31, 2010

Share This Page