#define iPhone_5 [UIScreen mainScreen].bounds.size.width == 320.0
#define iPhone_6 [UIScreen mainScreen].bounds.size.width == 375.0
#define iPhone_6s [UIScreen mainScreen].bounds.size.width == 414.0
#define IS_IPHONE_6 (([[UIScreen mainScreen] bounds].size.height == 667) ? YES : NO)
#define IS_IPHONE_6P (([[UIScreen mainScreen] bounds].size.height >= 736) ? YES : NO)
时间: 2024-10-08 03:00:44