views:

54

answers:

1

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?

A: 

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

Igor