How to remove iOS Simulator device label

后端 未结 8 2366
一生所求
一生所求 2021-02-18 22:53

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

8条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-18 23:08

    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.

提交回复
热议问题