- HOW TO DO A SCREEN CAPTURE ON MAC OS X INSTALL
- HOW TO DO A SCREEN CAPTURE ON MAC OS X SIMULATOR
- HOW TO DO A SCREEN CAPTURE ON MAC OS X TV
HOW TO DO A SCREEN CAPTURE ON MAC OS X SIMULATOR
You can take a screenshot or record a video of the simulator window using the xcrun command-line utility. Taking a Screenshot or Recording a Video Using the Command Line A screenshot of each open simulated device is saved to the desktop of your Mac. To save a screenshot of the iOS, watchOS, or tvOS device and of the external display as files, choose File > Save Screen Shot. To take a screenshot of the iOS, watchOS, or tvOS device and save it to your Mac Clipboard, choose Edit > Copy Screen. To capture any simulated external display save the screenshot as a file.
In Simulator you can copy a screenshot of the iOS device simulator to your Mac Clipboard or save a screenshot to the desktop.
HOW TO DO A SCREEN CAPTURE ON MAC OS X INSTALL
Note: You cannot install apps from the App Store in simulation environments. You can also install an app by dragging any previously built app bundle into the simulator window. It is also possible to have different versions of your app in different environments. Installing your app in one environment does not install it in any other. Each simulation environment emulates a different device. When you build your app for Simulator, Xcode automatically installs it in the selected simulation environment. Select “Show Input menu in menu bar,” as shown here: Open System Preferences and choose the Keyboard preference. If the Input menu item is not in the Mac menu bar, use the following steps to add it: Select the desired keyboard from the Input menu. This screenshot shows the keyboard layout chooser with the Swiss German layout selected: The new keyboard layout is added to the list of available layouts. Press the Add button (+) to show the keyboard layout chooser.Ĭhoose the desired keyboard, and press Add. Open System Preferences, and choose the Keyboard preference. Note: For the simulator to automatically switch keyboard layouts when the Mac layout is changed, both Connect Hardware Keyboard and iOS Uses Same Layout As OS X must be selected. Choose the same menu item again to enable the option.
However, if you do feel a need to disable it-allowing you to select completely different keyboard layouts for your Mac and Simulator-choose Hardware > Keyboard > iOS Uses Same Keyboard Layout As OS X. For most cases, leave this option selected. If you have chosen Hardware > Keyboard > iOS Uses Same Keyboard Layout As OS X, Simulator automatically selects the keyboard that most closely matches the keyboard layout of your Mac. For you to most accurately simulate a device in Simulator, the simulator uses iOS keyboard layouts, as opposed to OS X keyboard layouts. Simulator can use the keyboard on your Mac as input to the simulated device. Take a screenshot of the simulated deviceįor information on specific ways of interacting with iOS and watchOS devices, see Interacting with iOS and watchOS.įor information on interacting with tvOS, see Interacting with tvOS. Use the Mac keyboard for input in multiple languages
HOW TO DO A SCREEN CAPTURE ON MAC OS X TV
Other interactions, such as manipulating the user interface, differ between touch-based devices and Apple TV and are covered in different chapters. This chapter covers ways of interacting that are common to all platforms. Interacting with Simulator differs from interacting with an actual device. Simulator runs devices from different platforms including iPhone, iPad, iWatch, and Apple TV. For Xcode 9 and later, see Simulator Help by choosing Help > Simulator Help in Simulator. The information in this document is deprecated in Xcode 9.