Analog to __IPHONE_8_0 for OS X 10.10
问题 What's the analog to #ifdef __IPHONE_8_0 for OS X 10.10? I've RTM/STFI, enough at least. 回答1: #ifdef __MAC_10_10 The #define s for the OS versions are in Availability.h . 来源: https://stackoverflow.com/questions/25554537/analog-to-iphone-8-0-for-os-x-10-10