在预编译阶段判断ios版本 在预编译阶段判断ios版本 #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_5_0// This code will compile on versions >= ios5.0#else// This code will compile on versions#endif IOS 2023-12-03 157 点赞 2 评论 237 浏览