How to know what Mac OS the app is running on?
问题 I've seen in some projects something like: #if ..... code... #endif but i can't find it now... Let's say, for example, if the app is running on 10.8 the app does 1 thing, if not the app does other thing. Whats to code to check if it's running on 10.8? Thanks. 回答1: You're probably asking the wrong question. Except in very rare cases, you should not care what system version the user is running. Instead, you should be checking if the specific thing you're interested in is available. For instance