Simulate on Xcode 6 somethings wrong

删除回忆录丶 提交于 2019-12-06 08:42:42

问题


I installed Xcode 6 gm version. I created new project and I run it on iPhone 6 or iPhone 5s simulator with ios 8. Everything is fine.But When I simulate on iphone 5s deployment target ios 7.1.Device screen is not full screen.it runs like as 3.5inc screen.Do you know reason of that? Is it XCode 6's bug?


回答1:


you should put launch screen for iphone 5 - 640x1136 named Default-568h@2x or use catalog assets alternatively.




回答2:


Figured out a solution in my case

  1. Go to General tab of project's target
  2. Scroll down to App Icons and Launch Screens section
  3. Click on Use Asset Catalog drop down option under Launch Images Source
  4. In prompt choose Migrate - this will create LaunchImage category under .xcassets image set (default Images.xcassets in my case)
  5. Launch the app - ifullscreen issue gone in my case



来源:https://stackoverflow.com/questions/25870612/simulate-on-xcode-6-somethings-wrong

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