ok, i set some .png files image as uimage in my table cell. they show up nicely when i r开发者_StackOverflow社区un 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!
code:
- (void)setIcon:(UIImage *)newIcon
{
[super setIcon:newIcon];
iconView.image = newIcon;
}
where iconview.image is from nib. newIcon is loaded in from plist, 1.png etc.
Is the uppercase/lowercase letter usage of your file names exactly consistent between the source code or plist strings and the actual file names in your app's bundle? Case awareness is a difference between the Mac OS and iOS file systems.
精彩评论