xcode 如何在 iOS 模拟器上截取全屏

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/43604486/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:56:10  来源:igfitidea点击:

How to Take a Full Screenshot on iOS Simulator

iosxcodeios-simulator

提问by Enijar

When developing apps that have ScrollViewcontent that is larger than the screen, is there a way to capture a "full screenshot" of the entire screen.

在开发ScrollView内容大于屏幕的应用程序时,有没有办法捕获整个屏幕的“完整屏幕截图”。

Currently, the screenshot option in File > Save Screen Shot ? + Sonly saves a screenshot of the current screen view.

目前,文件 > 保存屏幕? + S截图中的屏幕截图选项仅保存当前屏幕视图的屏幕截图。

Ideally, I would like to take a full screenshot of the entire scrollable view without having to manually stitch together the separate screenshots.

理想情况下,我想拍摄整个可滚动视图的完整屏幕截图,而无需手动将单独的屏幕截图拼接在一起。

回答by iOS

There is no way to take screenshot of full scrolling screen. Normally Just Click on Simulator and Press ? + S Button to take screenshot.

无法截取全滚动屏幕的屏幕截图。通常只需单击模拟器并按 ? + S 按钮截屏。