#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)
时间: 2024-10-20 09:24:20