iOS7 XIB issue. blank space at top and bottom

╄→尐↘猪︶ㄣ 提交于 2020-02-02 01:32:51

问题


I am having a view on which I am setting an ImageView. Auto layout is checked. It looks good in the preview, but when app actually runs on the simulator, there is blank space is showing at the top as well as bottom only in the iPHone retina 4 inch simulator. on 3.5 inch it looks fine. Using iOS7 and XCODE 5.

Even though i removed image from view, still there is the same problem.

What can be reason for this blank space ?


回答1:


I think are you Forget to adding splash screen Default-568h@2x.png in to you Project please check Property and set required splash-screen Default-568h@2x.png (640 × 1136 pixels) and clean project and run again



来源:https://stackoverflow.com/questions/19403334/ios7-xib-issue-blank-space-at-top-and-bottom

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!