开发者

Didn't load images when I test version on Iphone

开发者 https://www.devze.com 2022-12-23 16:21 出处:网络
I use images from resources like that: UIImage *image = [ UIImage imageNamed:@\"example.jpg\" ]; UIImageView *imageView = [ [UIImageView 开发者_开发问答alloc] initWithImage:image ];

I use images from resources like that:

UIImage *image = [ UIImage imageNamed:@"example.jpg" ];
UIImageView *imageView = [ [UIImageView 开发者_开发问答alloc] initWithImage:image ];

When I test it on semulator it's works. But on Iphone no. Also image with size about 10Kb loaded, with size about 100Kb no. Whats wrong?


It's ok now. I just make mistake in registry names of files. It was 1.JPG, but I called 1.jpg.

0

精彩评论

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