Closed wangmingfu closed 9 years ago
5.5英寸的iPhone6 Plus有标准模式和放大模式,之前的宏定义应该改成这个:
附上一个PaintCode的Resolution http://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions
@mingfuwang Note: If iPhone 6 is in zoomed mode the UI is a zoomed up version of iPhone 5. This is reflected in the macros.
@qfish @chenyun120 可以关掉这个bug了
5.5英寸的iPhone6 Plus有标准模式和放大模式,之前的宏定义应该改成这个:
define IS_SCREEN_55_INCH ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? (CGSizeEqualToSize(CGSizeMake(1125, 2001), [[UIScreen mainScreen] currentMode].size) || CGSizeEqualToSize(CGSizeMake(1242, 2208), [[UIScreen mainScreen] currentMode].size)) : NO)
附上一个PaintCode的Resolution http://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions