#define IOS8 [[[UIDevice currentDevice]systemVersion] floatValue] >= 8.0 转载于:https://www.cnblogs.com/cqchen/p/4054410.html