What are the possible values of [[UIDevice currentDevice] systemName];? In the docs from Apple, it doesn’t give any examples of what could result, but all I can get from it is iPhone OS, even on the simulator. Are there any other possibilities, and if not, why does this property even exist?
What are the possible values of [[UIDevice currentDevice] systemName]; ? In the docs from
Share
It’s the operating system’s name as the docs say. iOS was initially called “iPhone OS” (before iPad) but I think they didn’t changed the
systemNamefor compatibility reasons.In the future, they could implement
[UIDevice systemName]on (Mac) OS X and on that platform it would probably returnMac OS XorOS X.The current use for this method is quite limited but you never know what ((partly) compatible) operating systems Apple or someone else may produce in the future…