iPhone Simulator复制整机(含边框)至剪贴板失效问题咨询
Hey there! I’ve dealt with this exact problem when building website mockups, so let’s get that full iPhone Simulator (with the device frame) into your clipboard for Photoshop. Here are the solutions that worked for me:
Double-check frame visibility first
Make sure the simulator’s device frame is enabled. Go to the top menu bar →Display→Show Device Frameand confirm it’s checked. If the frame is hidden, the "Edit → Copy" option will only capture the screen content, not the full device.Use the keyboard shortcut instead of menu options
Sometimes the menu’s "Edit → Copy" glitches out. Try activating the simulator window first, then pressCmd + Cdirectly. This shortcut usually reliably captures the full framed interface to your clipboard, ready to paste into Photoshop.Restart the Simulator to fix clipboard bugs
Clipboard interaction with the Simulator can get stuck occasionally. Fully quit the Simulator (pressCmd + Qor right-click its Dock icon and select "Quit"), then reopen it. After restarting, try "Edit → Copy" or theCmd + Cshortcut again—this often resolves the empty clipboard issue.Fallback: Export via Terminal if clipboard still fails
If the above methods don’t work, you can generate a framed screenshot directly to your desktop using a Terminal command:- Activate the Simulator window
- Open Terminal and run this command:
xcrun simctl io booted screenshot --type png --display external ~/Desktop/iphone_framed.png - The image will save to your desktop, and you can just drag it into Photoshop.
内容的提问来源于stack exchange,提问作者alionthego

