Reputation: 465
UIImage imageNamed returning nil in xcode 6 on iphone 6 simulator.. but perfectly works on xcode 5
UIImage
code:
UIImage *img=[UIImage imageNamed@"img@2x~ipad"];
Upvotes: 0
Views: 1790
Reputation: 82759
try
UIImage *img=[UIImage imageNamed:@"img@2x~ipad.png"];
Upvotes: 2