iOS模拟器缩放bug [英] iOS simulator scaled bug
问题描述
今天早上我构建并运行我的xcode项目。当模拟器启动时,我看到了这个:
Today morning I build and run my xcode project. When simulator launched I saw this:
屏幕缩放,我只看到 1/4部分,其他3/4部分 隐藏。
有没有人遇到同样的问题?问题发生在 xCode6,Xcode5 ,也在 AppCode 。
我尝试清理项目,切换到 iPhone5屏幕 , iPad ,同样的问题。
The screen is scaled, I see only 1/4 part, other 3/4 parts are hidden.
Did anybody faced with same problem? The issue happens in xCode6, Xcode5, also in AppCode.
I tried to Clean project, switched to iPhone5 screen, iPad, the same problem.
此外,这种情况发生在我的其他iOS项目中。
Also, this happens with my other iOS projects.
推荐答案
最后,我明白为什么这个错误出现在工作而不是主页 :)
Finally, I got the reason why this bug appears at work and not at home :)
因为在工作时我没有外部显示器(监视器),但在家里(DELL,非视网膜偏离航线)
Because at work I don't have external display (monitor), but at home (DELL, non-retina off course)
如果你想要不出现这个bug,只需将你的macbook连接到外部非视网膜监视器。然后你可以正常工作,在macbook视网膜显示器中运行模拟器,也在外部显示器显示器,而Apple努力修复OS X中的这个错误。
If you want this bug not to appear, just connect your macbook to external non-retina monitor. Then you may work fine, run simulator in macbook retina display, also in external monitor display, while Apple hard works to fix this bug in OS X.
这是视频证明: http://youtu.be/4gkFEkOJN9s
这篇关于iOS模拟器缩放bug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!