///
release 模式下NSlog不输出
debug 模式下NSlog输出
//
#ifndef DEBUG
#define NSLog(...) NSLog(__VA_ARGS__)
#else
#define NSLog(...) {}
#endif
/
屏幕的宽 高
/
#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width) // 宽
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height) // 高
/
设备系统
/
#define IOS_VERSION [[[UIDevice currentDevice] systemVersion] floatValue]
/
设备的型号
/
#define IOS_Model [[UIDevice currentDevice] model]
/
应用版本
/
#define APP_VERSION [NSString stringWithFormat:@"应用名称%@",[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]]