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.
1) Simple way to close single simulator
-> Select required Simulator
-> Click Command + W (⌘W).
2) If you want to minimise simulator
-> Select required simulator
-> Click Command + M (⌘M).
3) For screen shot of simulator
--> Select required simulator
-->Select Commend + S (⌘S).
4) If you want to rotate simulator(for landscape mode)
-> Select required simulator
-> Click Command + left arrow or right arrow.
See below screen for left arrow or right arrow
To long-press power button on the right-top of simulator , then slide to turn off power, a single simulator will be close.
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.
来源:https://stackoverflow.com/questions/45165635/how-to-quit-or-close-single-simulator-from-opened-multiple-simulator-in-xcode-9