UIImage couldn't load some png picture.

Posted by www.ruu.cc on Stack Overflow See other posts from Stack Overflow or by www.ruu.cc
Published on 2010-04-02T03:03:08Z Indexed on 2010/04/02 3:13 UTC
Read the original article Hit count: 225

Filed under:

I Use the following code to load png image: UIImage *imageBack1 = [UIImage imageNamed:@"Bar1.png"]; UIImage *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?

© Stack Overflow or respective owner

Related posts about cocoa-touch