Iphone.png image not showing on device

ok, I set the image of .png files as iimage in the table cell. they display well when I launch them using the iphone simulator. when I run them in my device they do not appear. what is the problem?

i only the β€œerror” I received cannot be debugged when installing my application on my device, which should not be a problem since I never installed it for debugging.

Does anyone know why?

thks in advance!

the code:

- (void)setIcon:(UIImage *)newIcon
{
    [super setIcon:newIcon];
    iconView.image = newIcon;
}

where iconview.image is from nib. newIcon is loaded from plist, 1.png, etc.

+3
source share
1 answer

plist ? - Mac OS iOS.

+16

Source: https://habr.com/ru/post/1762173/


All Articles