标签:
#define IS_IOS8_0 ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0)
#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height
#define SCREEN_WIDTH (IS_IOS8_0 ? HEIGHT : WIDTH)
#define SCREEN_HEIGHT (IS_IOS8_0 ? WIDTH : HEIGHT)
标签:
原文地址:http://www.cnblogs.com/marysneaker/p/5630680.html