Naked Thought

  • Archive
  • RSS
  • Ask us anything

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

    • #iphone simulator
    • #ios
  • 10 months ago
  • 79
  • Comments
  • Permalink
  • Share
    Tweet

79 Notes/ Hide

  1. nakedapps posted this

Recent comments

Blog comments powered by Disqus
← Previous • Next →

About

This is the blog of Naked Apps — makers of sweet mobile apps. We're available for hire so get in touch!

Pages

  • Our Website
  • We do GitHub

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask us anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr