Arun Stephens

Images showing on iPhone Simulator but not device?

If you’re working on an app (Zoopcast, say) and you’re finding that images that you’ve got in your application bundle are showing up when you’re running in the simulator, but not on the device, check the case of your filenames.

I thought there might have been some sort of image format problem that [UIImage imageNamed:] uses, but I was wrong. It was simple case sensitivity.

I’m guessing that my computer has a case-insensitive filesystem whereas the iPhone and iPod I am testing on presumably have a case-sensitive one. And that is where the problem arose.