iOS simulator showing black on 3/4 of screen

守給你的承諾、 提交于 2020-02-02 04:17:04

问题


I tried several apps running in fresh install (yosemite) of Xcode 6.3 simulator but all of them displays only on first 1/4 of simulator screen.

I changed scaling - did not help.
All devices have this problem.
On another mac the apps are displaying in simulator correctly.

Here the screenshot from simulator:


回答1:


I frequently have this issue with a VMWare OSX development machine I'm using to develop iOS native apps. From what I've seen it is related to the Window > Scale menu option being set to something different than 100% from a previous launch that messes around all the subsequent initialization phases.

To get rid of it, try doing this:

  • Exit from VMWare full-screen mode, switching to windowed mode instead.
  • launch iOS Simulator using its stand-alone shortcut (not from XCode) and wait until it finishes loading/booting the default device.
  • go to Window > Scale and set it to 100%.
  • go to iOS Simulator > Reset contents and settings... and click OK.
  • close and reopen the iOS Simulator using its stand-alone app (not from XCode).

As soon as you see it loading without the glitch, you can switch back to VMWare full-screen mode and also use the Window > Scale as you like.



来源:https://stackoverflow.com/questions/29646302/ios-simulator-showing-black-on-3-4-of-screen

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