You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多
文档控制台
免费开始使用

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 + S shortcut and use Xcode’s dedicated screenshot feature instead:
    1. With your app running in the simulator, go to Xcode’s top menu: Debug > View Debugging > Take Screenshot of [Your Device Name]
    2. This saves a native-resolution screenshot directly to your desktop, completely bypassing simulator scaling quirks.

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 > Scale to 100%, and try taking a screenshot again with Cmd + S

3. Force Native Resolution via Terminal Command

If the above methods fail, this terminal trick guarantees a full-resolution screenshot:

  1. Grab your simulator’s UDID: Open Window > Devices and Simulators, select your device, and copy the UDID string.
  2. Open Terminal and run this command (replace [UDID] with your actual UDID):
    xcrun simctl io [UDID] screenshot --type png --display external ~/Desktop/native_screenshot.png
    
    This saves a pixel-perfect screenshot to your desktop, no scaling hacks needed.

内容的提问来源于stack exchange,提问作者JXLai

火山引擎 最新活动