在预编译阶段判断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 213 点赞 3 评论 322 浏览