开发者

UIImage couldn't load some png picture

I Use the following code to load png image:

UIImage *imageBack1 = [UIImage imageNamed:@"Bar1.png"];
UI开发者_如何转开发Image *imageBack2 = [UIImage imageNamed:@"Bar2.png"];

imageBack1 work right when imageBack2's value is nil, Bar1.png and Bar2.png are located at the same place,but why Bar2.png couldn't be load?


In fact , the problem come from the png file,but not cocoa. Iphoto couldn't recognize it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜