.png files not showing up in device

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

  1. StefanDevil macrumors member

    Joined:
    Jul 31, 2010
    #1
    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

    Joined:
    Mar 30, 2008
    Location:
    Uppsala, Sweden
    #2
    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

    dejo

    Staff Member

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

    sherry2009

    Joined:
    Dec 14, 2009
    #4
    .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

    Joined:
    Jul 31, 2010

Share This Page