简体   繁体   English

Xcode:iPhone截图不再有效

[英]Xcode: iPhone screenshots no longer work

I can't be sure when this stopped working because I haven't used it for a while, but it was possibly since I upgraded to the 3.2 SDK. 我无法确定何时停止工作,因为我暂时没有使用它,但可能是因为我升级到3.2 SDK。 In Organizer, when I select the "Screenshots" tab and press "Capture", nothing happens. 在管理器中,当我选择“屏幕截图”选项卡并按“捕获”时,没有任何反应。

I've tried this with three different devices and I've restarted my Mac. 我用三种不同的设备试过这个,然后我重新启动了我的Mac。 What's happened, and how can I fix it? 发生了什么事,我该如何解决?

I don't have the solution for your problem, but here's a workaround: 我没有针对您的问题的解决方案,但这是一个解决方法:

Use the device to make your screenshots (press the home and lock buttons simultaneously). 使用设备制作屏幕截图(同时按住主页和锁定按钮)。 The resulting screenshot will be saved on the device. 生成的屏幕截图将保存在设备上。

To transfer the screenshot to your desktop don't use slow-ish iPhoto or iTunes to synchronize. 要将屏幕截图传输到桌面,请不要使用慢速iPhoto或iTunes进行同步。 Instead import the images using Preview.app. 而是使用Preview.app导入图像。 There's a command in the file menu to import images from your iPhone when it's connected. 文件菜单中有一个命令可以在iPhone连接时从iPhone导入图像。

On xcode 4.0 (+), you can go to organizer and create a screenshot of device. 在xcode 4.0(+)上,您可以转到管理器并创建设备的屏幕截图。

Window -> Organizer -> click the device tab and then screenshot button. 窗口 - >管理器 - >单击设备选项卡,然后单击屏幕截图按钮。

Hold command-shift-4. 按住命令shift-4。 Then drag it across the iPhone screen. 然后将其拖过iPhone屏幕。 This key combination give you the ability to take a screen shot with the size you want. 此组合键使您能够拍摄所需大小的屏幕截图。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM