24 May, 2017

iPhone/XCode - not all cases are equal!

This bit me! 

Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the stuff to a phone via TestFlight, my images that was rendering fine in the simulator did not show up at all? What up?

When you are dealing with image resources (UIImage) in Xcode; remember that the spelling is important. I'm referring to case sensitivity here.
So - in short:
The iPhone Simulator: case insensitive
The iPhone: case sensitive

Just saying if you are puzzled about why your images are not showing up when deployed to a Phone.

No comments:

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...