1、现象描述:
xcode6 新建项目,删除storyboard,删除lunch xib,代码创建windows和rootViewcontrol,能正常运行,但5s等4寸机型屏幕上部和下部显示为黑色背景,只有中间一块为可视区域。当然,状态栏也一同下移。
2、原因分析:
项目中没有4寸屏的启动图片,因此系统默认只适配3.5英寸屏
3、解决办法:
Taking advantage of the full 4″ screen in your apps seems to be as simple as adding a new Default image named Default-568h[……]