ios 如何从 Xcode 9 中打开的多个模拟器退出或关闭单个模拟器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/45165635/
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
How to quit or close single simulator from opened multiple simulator in Xcode 9?
提问by Bhautik Patoliya
I run multiple simulator and I need to close one of them. How can i do this? Because I tried to close it like we does in older version of Xcode but can't close.
我运行多个模拟器,我需要关闭其中一个。我怎样才能做到这一点?因为我试图像在旧版本的 Xcode 中那样关闭它,但无法关闭。
回答by Ellen
Select Simulator.. Go into File Menu -> Close window or press [Command + W ]. It will close the simulator which is on top .
选择模拟器.. 进入文件菜单 -> 关闭窗口或按 [Command + W]。它将关闭位于顶部的模拟器。
Go into Windows menu -> uncheck Show Device Bezels. Then you can close using red cross icon on simulator.
进入 Windows 菜单 -> 取消选中 Show Device Bezels。然后您可以在模拟器上使用红十字图标关闭。
回答by Jagveer Singh
There are two ways to close particular Simulator form Multiple simulators
有两种方法可以关闭特定的 Simulator 窗体 Multiple Simulator
Long-press power button on the right-top of simulator , then slide to turn off power, a single simulator will be close.
Go into File Menu -> Close window or press [Command + W ]. It will close the simulator which is on top
长按模拟器右上方的电源键,然后滑动关闭电源,单个模拟器将关闭。
进入文件菜单 -> 关闭窗口或按 [Command + W]。它将关闭位于顶部的模拟器
回答by iOS
1)Simple way to close single simulator
1)关闭单个模拟器的简单方法
-> Select required Simulator
-> 选择所需的模拟器
-> Click Command + W (?W).
-> 单击 Command + W (?W)。
2)If you want to minimise simulator
2)如果你想最小化模拟器
-> Select required simulator
-> 选择所需的模拟器
-> Click Command + M (?M).
-> 单击 Command + M (?M)。
3)For screen shotof simulator
3)对于模拟器的屏幕截图
--> Select required simulator
--> 选择需要的模拟器
-->Select Commend + S (?S).
--> 选择推荐 + S (?S)。
4)If you want to rotate simulator(for landscape mode)
4)如果你想旋转模拟器(横向模式)
-> Select required simulator
-> 选择所需的模拟器
-> Click Command + left arrow or right arrow.
-> 单击 Command + 向左箭头或向右箭头。
See below screen for left arrow or right arrow
请参阅下面的屏幕以了解向左箭头或向右箭头
回答by ovo
To long-press power button on the right-top of simulator , then slide to turn off power, a single simulator will be close.
长按模拟器右上方的电源键,然后滑动关闭电源,将关闭单个模拟器。
回答by AmigaAbatttheitroad
I found a way, but it was by a program I used called HyperDock. It gives a preview of the app windows that are opened when you hover over the icon in the dock. It will give you an option to close the simulator window when you see the preview.
我找到了一种方法,但它是通过我使用的名为HyperDock的程序实现的。它提供了当您将鼠标悬停在 Dock 中的图标上时打开的应用程序窗口的预览。当您看到预览时,它将为您提供关闭模拟器窗口的选项。