iPhone Simulator Case Sensitivity
A funny thing happened in an application I was developing today - the exact same code behaved differently between the iPhone Simulator and a real device. The application had a custom keyboard displayed on screen (for reasons I won’t get into) — on the iPhone Simulator all keys were displayed perfectly whereas on my iPhone no keyboard was displayed at all!
Why?
Well, it appears the the simulator is case insensitive when referring to resources whereas the devices are case sensitive. So if our resource is key-a.png then we must refer to it with that exact casing (i.e. @”key-a.png”) for it to work on both the simulator and on the device.
Why the iPhone simulator is case insensitive is beyond me, but nevertheless this is how it behaves!
^PM