XCode 4.3.1 iPad 模拟器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9624757/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
XCode 4.3.1 iPad simulator
提问by zskalnik
Does anybody know why home button is missing for iPad simulator only?
有人知道为什么只有 iPad 模拟器缺少主页按钮吗?
采纳答案by Steve Weller
See http://openradar.appspot.com/11017007for the real answer: "Engineer who removed the bezel from scaled iOS Sim not thanked enough, probably"
有关真正的答案,请参阅http://openradar.appspot.com/11017007:“可能是工程师从缩放的 iOS Sim 中移除边框的感谢不够”
回答by sch
Its a simple redesign to make more space for the simulator screen. You can trigger the home button from the menu Hardware> HomeOr using the shortcut: ??H.
这是一个简单的重新设计,为模拟器屏幕腾出更多空间。您可以从菜单硬件>主页或使用快捷方式触发主页按钮:??H。
回答by carlos_ms
I don't think this is an enhancement at all. This is by far a notorious bug and a bad one. I know that home button action can be reproduced by cmd-H or its double click by doing cmd-H twice, though it could activate the slow motion animations too (annoying!). My point here is that whenever you run the simulator and start testing doing rotations (cmd-arrows), at one point you won't be able to tell if iPad orientation is to the right or to the left!... there's no visual clue whatsoever! Bad Apple!, bad Apple!
我认为这根本不是增强。到目前为止,这是一个臭名昭著的错误,也是一个糟糕的错误。我知道可以通过 cmd-H 或通过执行 cmd-H 两次双击来重现主页按钮动作,尽管它也可以激活慢动作动画(烦人!)。我的观点是,每当您运行模拟器并开始测试旋转(cmd-箭头)时,您将无法判断 iPad 的方向是向右还是向左!...没有视觉效果任何线索!坏苹果!坏苹果!
回答by Nathan Gopen
It appears it is looking at whether or not there is adequate screen resolution to display the bezel. For example, I have a 17" Macbok pro that I develop on (1920x1200 resolution). When I launch an iPad development project and the suimulator comes up on my Macbook pro's desktop, no problem, the bezel shows. But let's say I then drag it over to my external monitor which is 1920x1080, then quit and relauinch the simulator... it comes up without a bezel.
看起来它正在查看是否有足够的屏幕分辨率来显示边框。例如,我有一台 17" Macbok pro 用于开发(1920x1200 分辨率)。当我启动 iPad 开发项目时,模拟器出现在我的 Macbook pro 桌面上,没问题,边框显示。但假设我然后拖动它转到我的 1920x1080 外接显示器,然后退出并重新启动模拟器......它没有边框。
My co-worker who has a Macbook Pro 13" (lower resolution), never sees the bezel. I suspect the newer retina Macbook Pros will always show a bezel.
我的同事拥有 Macbook Pro 13"(较低分辨率),从来没有看到边框。我怀疑较新的视网膜 Macbook Pro 总是会显示边框。
This is of course, al pertaining to the regular, non-retina iPad simulator. I am not sure if given adequate screen resolution, the iPad retina simulator would show a bezel or not?
这当然与常规的非视网膜 iPad 模拟器有关。我不确定如果给定足够的屏幕分辨率,iPad 视网膜模拟器是否会显示边框?
回答by svenyonson
I personally don't need more screen space for the simulator with my Thunderbolt 27" display. I'd like the frame back, thank you very much! I also noticed with this version the application icons often show as blank white icons, even for Safari and Photos.
我个人不需要用我的 Thunderbolt 27" 显示器为模拟器提供更多的屏幕空间。我想要框架回来,非常感谢你!我还注意到这个版本的应用程序图标经常显示为空白的白色图标,即使是Safari 和照片。
回答by tim
No, but you can trigger it from the menu bar (Hardware -> Home).
不,但您可以从菜单栏(硬件 -> 主页)触发它。