标签:
#pragma mark 判断当前设备 #define IS_IPHONE4 (([[UIScreen mainScreen] bounds].size.height == 480) ? YES : NO) #define IS_IPHONE5 (([[UIScreen mainScreen] bounds].size.height == 568) ? YES : NO) #define IS_IPhone6 (667 == [[UIScreen mainScreen] bounds].size.height ? YES : NO) #define IS_IPhone6plus (736 == [[UIScreen mainScreen] bounds].size.height ? YES : NO)
标签:
原文地址:http://www.cnblogs.com/chnyang/p/5077291.html