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.
精彩评论