#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_5_0
// This code will compile on versions >= ios5.0
#else
// This code will compile on versions<5.0
#endif
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_5_0
// This code will compile on versions >= ios5.0
#else
// This code will compile on versions<5.0
#endif
本文标题:在预编译阶段判断ios版本
本文链接:https://www.haomeiwen.com/subject/ttuzdttx.html
网友评论