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.

7 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

damion said...

70-461 dumps - It’s now just a piece of cake! Rely on Marks4sure’s easy 70-461 Questions Answers that can give you first time success with 100% money back guarantee! Thousands of IT professional have already been benefited with the marvelous 70-461 Q&As and have obtained their dream certification.

Ada Smith said...

She came to visit her neighbor and she showed me this site knowingall slots and sat with her all day at the computer, now we argue who will get the money faster. Cool site design a lot of slots and slot machines

jorick228 said...
This comment has been removed by the author.
jorick228 said...
This comment has been removed by the author.

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