#define IOSVersion [[[UIDevice currentDevice] systemVersion] floatValue] #define IsiOS7Later !(IOSVersion < 7.0)