Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove iOS Simulator device label

Tags:

Is it possible to remove the bottom label from the simulator that says "iPhone X - 11.3"? I would like to take a screenshot without the label but include the device bevels and shadow.

enter image description here

like image 526
Berry Blue Avatar asked May 23 '18 20:05

Berry Blue


People also ask

How do I remove a device from simulator?

Go to Window > Devices and simulators, then select the Simulators tab. You can right-click on any simulator and select 'delete' to get rid of it.

How do I delete old simulators?

It's very simple. Open this folder in Finder, either by pressing CMD + SHIFT + G and copy-pasting this path /Library/Developer/CoreSimulator/Profiles/Runtimes/ or manually navigating to the above path. Once opened, you will see all the runtimes downloaded. Just delete them and we are good to go.

Can I delete iOS Simruntime?

Now, go to /Library/Developer/CoreSimulator/Profiles/Runtimes and delete the files named iOS 9.3. simruntime and iOS 10.3. simruntime .

Where is the device ID for simulator?

Finding your device ID is straightforward whether you have an Android or an Apple device. For an Android enter “*#*#8255#*#*” into the keypad.


2 Answers

  1. Press command + shift + 4.

  2. Press spacebar

3a. Hold command + click the simulator (with shadow)

3b. Hold option + click the simulator (without shadow)

like image 157
bartosss Avatar answered Oct 10 '22 07:10

bartosss


For some reason, I can't get the FloatingNameMode setting to work anymore on Xcode 9.4

A solution I found by accident is the following:

  1. Run the Simulator as you normally would.
  2. Click somewhere on you desktop, in such way the Simulator is still visible (i.e. not blocked behind other windows) but no longer the active application.
  3. Now the Simulator is no longer the active application, the device label is now also gone (and the Simulator frame went from black to dark grey).
  4. Press command + shift + 4 ( add control if you want to save the screenshot to memory only) then press space and hover over the 'inactive' Simulator.
  5. Press the keypad to take the screenshot. The screenshot is now saved without the device label.
like image 30
Qualiture Avatar answered Oct 10 '22 09:10

Qualiture