gavinkwoe / BeeFramework

[Experimental] A semi-hybrid framework that allows you to create mobile apps using Objective-C and XML/CSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iPhone6 Plus Display Zoom 判断错误

wangmingfu opened this issue · comments

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

@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了