Simulate on Xcode 6 somethings wrong

2019-04-12 07:05发布

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?

enter image description here

2条回答
何必那么认真
2楼-- · 2019-04-12 07:40

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

查看更多
疯言疯语
3楼-- · 2019-04-12 07:48

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

查看更多
登录 后发表回答