Skip to main content
2 of 7
added 30 characters in body; deleted 4 characters in body
John
  • 33
  • 1
  • 4

Why is iOS case-sensitive?

Developing an iOS apps, there was a thing that drove me mad: executing the same app that created the same files at the same path, the iPhone simulator worked the correct way, while a real iPhone didn't. I eventually discovered that i mistyped a character (uppercase instead of lowercase) and consequently the iPhone created a folder starting with an uppercase character, while putting the file in a path with that folder starting with the lowercase version of that character. The simulator however, didn't care of that difference. I suppose that was because the simulator, running on a case-insensitive system (OS X/mac OS), inherits its "case-insensitivity", while the iPhone (seems to me) is natively case-sensitive.

Mi question is:

Given that iOS's core is based on OS X's, and OS X is case-insensitive (even if case-preserving), why is iOS case-sensitive? Is there a particular reason? Is not case-sensitive and I misinterpreted what happened with my problem?

John
  • 33
  • 1
  • 4