This is the 16th day of my participation in the August More Text Challenge. For details, see: August More Text Challenge.
preface
In the process of iOS development, for the convenience of testing the effect of the application, developers will use Xcode’s built-in emulator for operation. Moreover, Xcode’s built-in mobile phone emulator contains all the latest mobile phone models and sizes of Apple, which makes it convenient for developers to test different models. However, it is still very inconvenient to operate the simulator and the real machine on Xcode computer. If you do not know the common shortcut keys, it is not convenient to operate. So this blog post will share the shortcut key operation set of The simulator in Xcode for people in need.
In fact, there are two ways to operate the built-in simulator in Xcode: The first way is to directly use the computer keyboard for shortcut key combination to operate the simulator; the second way is to directly select the option list of the simulator and find the corresponding operation option for direct operation.
1. Xcode has built-in operation set of emulator shortcut keys
0. The emulator is minimized to the menu bar at the bottom of the desktop. The shortcut key combination is command + M
1. The shortcut key combination to hide the simulator is command + H
2. Use command + Q to close the emulator
3. The simulator screen lock shortcut key combination is Command + L
4. The simulator screen unlock shortcut key combination is command + Shift + H, and then click or slide to unlock
5, simulator back to the home page of the shortcut key combination: command + shift + H, (in the case of no screen lock operation)
6. Double-click the home button in the simulator to display the task list. The shortcut keys are command + Shift + double-click H twice
7, emulator to adjust the size ratio of the shortcut key combination: command + 1, 2, 3, (different numbers represent different screen size)
8, the simulator for the rotation of the shortcut key combination: command + ⬅️, ➡️, (clockwise or counterclockwise)
9, the simulator to adjust the volume of the shortcut key combination: command + ⏫, ⏬, (up is to add, down is to subtract)
10, emulator show/not show keyboard shortcut combination: command + k, (if useful to the input box)
11. Turn on/off the shortcut key combination from the computer keyboard to the simulator: Command + Shift + k
12. The simulator uses command + S as the shortcut key for screen capture
13. The simulator uses command + Control + C to replicate the screen
14. After the emulator copies the screen, the shortcut key combination for paste operation is command + V
15. The simulator uses Alt/Option + Shift as the shortcut key for dragging gestures, and then uses the mouse for dragging operations
16. The simulator uses Alt/Option as the shortcut key for zooming gestures, and then uses the mouse to zoom
2. Xcode provides a set of operation ICONS for the simulator menu bar
1. Hide the current simulator
2. Hide other emulators
3. Close the simulator
4. The simulator takes screenshots
5. Close the window
6. Perform rotary operation on the simulator
7. The simulator replicates the screen
8, simulator back to the home page
9. The simulator performs screen lock operation
10, simulator keyboard operation
11. Adjust the volume of the simulator
The emulator is minimized to the menu bar at the bottom of the desktop
13. The operation of the simulator to adjust the size proportion
The last
The above is all of this chapter, welcome to pay attention to three shopkeeper’s wechat public number “program ape by three shopkeeper”, three shopkeeper’s Sina Weibo “three shopkeeper 666”, welcome to pay attention!