[[[UIDevice currentDevice]systemVersion]floatValue]>=7.0是判断系统的版本,
#ifdef __IPHONE_8_2是你Xcode的SDK的版本
[[[UIDevice currentDevice]systemVersion]floatValue]>=7.0是判断系统的版本,
#ifdef __IPHONE_8_2是你Xcode的SDK的版本
转载于:https://www.cnblogs.com/zkzzkz/p/4601247.html