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.

3 comments:

Break said...

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work iOS 11.3.1

Fresh up said...

I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. iphone screen recorder

-_- said...

The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface. ipad cases manufacturer

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...