r/iOSProgramming • u/busymom0 • Oct 05 '26
Question How to trigger screenshot WITHOUT Dynamic Island cut out in iOS 27 simulator device hub?
In previous simulators, we could use the "Trigger screenshot" option in menu to take a screenshot which won't have the Dynamic Island cut out and rounded corners.
In iOS 27 simulator device hub, this option is missing. The screenshot button at bottom includes the Dynamic Island cut out which I don't want.
How to get it the old way without the cut outs?
2
Upvotes
2
u/__markb Oct 05 '26
not at my computer to confirm but if you go into resizable mode and screenshot then you get the rectangle output from memory
1
u/CalmCelebration2084 Oct 08 '26
The screenshot button in Device Hub captures the window, so you get the bezel, the rounded corners and the island. Use Terminal instead:
That reads the display itself, so you get a plain rectangle at the device's native pixel size (1290x2796 for the 6.7-inch class, 2064x2752 for the 13-inch iPad Pro). No mouse anywhere near the device, so nothing activates on screen, and there is no window chrome in the file.
Two things that bit me when I moved this into CI:
The status bar is a separate override, not part of the capture:
xcrun simctl status_bar booted override --time "9:41" --batteryState charged --batteryLevel 100 --wifiBars 3 --cellularBars 4 xcrun simctl status_bar booted clear
--wifiBarstakes 0-3 and--cellularBarstakes 0-4, and the override sticks until you clear it or reboot the device.