gavinkwoe / BeeFramework

[Experimental] A semi-hybrid framework that allows you to create mobile apps using Objective-C and XML/CSS
MIT License
3.33k stars 1.06k forks source link

iPhone6 Plus Display Zoom 判断错误 #116

Closed wangmingfu closed 9 years ago

wangmingfu commented 9 years ago

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

ganvinalix commented 9 years ago

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

ganvinalix commented 9 years ago

@qfish @chenyun120 可以关掉这个bug了