Xcode 9.3 iOS模拟器截图尺寸固定为750×1334问题求助
Fix: iOS Simulator Screenshot Stuck at 750×1334
I’ve run into this exact frustrating issue before—no matter which device I switch to or how I adjust the scale, the screenshot stays stuck at 750×1334. Let’s walk through some reliable fixes that worked for me:
1. Double-Check Target Device & Use Xcode’s Built-In Screenshot Tool
- First, confirm you’re running your app on the correct target device in Xcode. Before hitting the run button, make sure the device selector (next to the play icon) is set to your desired model (e.g., iPhone 14 Pro has a native resolution of 1170×2532). Restart the simulator after switching devices.
- Skip the buggy
Cmd + Sshortcut and use Xcode’s dedicated screenshot feature instead:- With your app running in the simulator, go to Xcode’s top menu:
Debug > View Debugging > Take Screenshot of [Your Device Name] - This saves a native-resolution screenshot directly to your desktop, completely bypassing simulator scaling quirks.
- With your app running in the simulator, go to Xcode’s top menu:
2. Reset Simulator Preferences to Clear Corrupted Cache
Sometimes wonky simulator settings cause this resolution lock:
- Open the simulator, then navigate to
Window > Devices and Simulators - Right-click your target device and select
Erase All Content and Settings - Restart the simulator, re-run your app, set
Window > Scaleto100%, and try taking a screenshot again withCmd + S
3. Force Native Resolution via Terminal Command
If the above methods fail, this terminal trick guarantees a full-resolution screenshot:
- Grab your simulator’s UDID: Open
Window > Devices and Simulators, select your device, and copy the UDID string. - Open Terminal and run this command (replace
[UDID]with your actual UDID):
This saves a pixel-perfect screenshot to your desktop, no scaling hacks needed.xcrun simctl io [UDID] screenshot --type png --display external ~/Desktop/native_screenshot.png
内容的提问来源于stack exchange,提问作者JXLai




