标签: ios objective-c null uiimage xcode6
UIImage imageNamed在iphone 6模拟器上的xcode 6中返回nil ..但完美适用于xcode 5
UIImage
代码:
UIImage *img=[UIImage imageNamed@"img@2x~ipad"];
答案 0 :(得分:2)
尝试
UIImage *img=[UIImage imageNamed:@"img@2x~ipad.png"];