iPhone App无法在iphone 6模拟器上正确显示
我的应用程序在iPhone 4s,5、5s模拟器上运行良好.在iPhone 6上,它显示异常.它不会占据整个屏幕.
My app works good on iphone 4s, 5 , 5s simulators. On iphone 6,it shows up weirdly. It does not occupy the entire screen
可能是什么问题?
解决了该问题.感谢用户的宝贵意见.它与自动排版或自动调整大小无关.
Resolved the issue. Thanks for your valuable responses users.It has got nothing to do with Autolayout or autoresizing.
只需转到images.xcassets,右键单击导航器区域,添加launchImage.然后选择您的项目(或目标),转到常规->应用程序图标并启动图像,并将启动图像源设置为启动图像,最重要的是,将启动屏幕文件设置为空白.
Just go to images.xcassets, right clicking in the navigator area, add launchImage. Then select your project (or target), go to general-->App Icons and Launch images and set Launch Images Source as Launch Image and most importantly, set Launch Screen file blank.
该应用程序现在也可以在iphone 6模拟器中正常运行.
The app would now work well in iphone 6 simulator too.