app在4寸屏幕上显示只有3.5寸问题

app在4寸屏幕上显示只有3.5寸问题,上面下面都有一段黑色的空白区域。视图只占据了3.5寸320*480的空间。

问题解决方案:

参考:http://stackoverflow.com/questions/12518879/extend-app-for-iphone-5-best-practice

http://stackoverflow.com/questions/18913105/black-bars-showing-when-running-app-on-ios-7-4-inch-retina-display

Taking advantage of the full 4" screen in your apps seems to be as simple as adding a new Default image named Default-568h@2x.png with size 640 x 1136. Xcode 4.5 will actually offer to do this for you automatically by adding a black image of the proper size and name to your project.

补全这三张图片,然后拉到项目中去。Default.png  Default@2x.png  Default-568h@2x.png

转载于:https://www.cnblogs.com/skyry/p/5114561.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值