Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Images showing in simulator but not on the iPhone device

So when I run the application from the device the pictures show up and everything works great. However, when I move to the device I run in about 10 out of 38 pictures that don't show up. I am pulling the names for the images from an sqlite database and I already checked and the names are correct, case and everything. I checked the bundle and the images are correctly in there.

Does memory play into effect in this? I am not really sure what else could cause this to happen??

Thanks!

Solution: The files somehow were not saved properly and were unable to be opened by say photoshop or paint even. So with the files not being able to be open they weren't showing up... Thanks for the help everyone!

like image 519
Matt Avatar asked Dec 19 '10 23:12

Matt


1 Answers

First thing to check is the case of the strings you're using to refer to the resources. The iPhone is case sensitive, but the simulator is not.

Oops, just seen that you checked the case. Better log all your UIImage creation calls then!

like image 101
Andy J Buchanan Avatar answered Oct 22 '22 05:10

Andy J Buchanan