现在我们可以向App Store提交应用的视频预览。根据苹果公司的说法,我们应该在iOS8设备和OSX 10.10设备上这样做。问题是你必须拥有所有不同的设备(4英寸、4.7英寸、5.5英寸和iPad)。

还有别的选择吗?

我想拍一段模拟器的视频。问题是,当以100%分辨率显示时,设备屏幕比我的全高清显示器还大。任何解决方案,可以捕捉视频从模拟器的全分辨率?

编辑: 因为很多人都在回答我没有问的问题让我说 记录一个设备大小并缩放它不是我要求的 我问的不是如何录制应用预览 -我问的不是你怎么做预告片;

我想问的是,如果模拟器无法在屏幕上显示,你能否以100%分辨率录制视频?


当前回答

Taking a Screenshot or Recording a Video Using the Command Line You can take a screenshot or record a video of the simulator window using the xcrun command-line utility. Launch your app in Simulator. Launch Terminal (located in /Applications/Utilities), and enter the appropriate command: To take a screenshot, use the screenshot operation: xcrun simctl io booted screenshot You can specify an optional filename at the end of the command. To record a video, use the recordVideo operation: xcrun simctl io booted recordVideo <filename>.<extension> To stop recording, press Control-C in Terminal. Note: You must specify a filename for recordVideo. The default location for the created file is the current directory. For more information on simctl, run this command in Terminal: xcrun simctl help For more information on the io subcommand of simctl, run this command: xcrun simctl io help

来自Apple文档。

其他回答

这是我发现的最简单的方法,你只需要一个iPhone和iPad:

使用QuickTime播放器记录设备屏幕:

连接您的设备。 打开QuickTime播放器。 选择文件>新建电影录制(CMD + alt + N) 在出现的窗口中,选择您的iOS设备作为最大分辨率的相机。 保存视频文件(CMD + S)

开放的iMovie

选择文件->新应用预览 从你的应用程序拖一个最大分辨率的图像,例如1920 x 1080的截图到项目。(即使你用iPhone 5录制视频,它也会使视频的尺寸变成1920 x 1080) 将您录制的电影拖到项目中。 选择“文件->共享->应用预览”保存

现在对你所有的设备都这样做,或者:

下载手刹:https://handbrake.fr/downloads.php

并调整高分辨率视频的大小:

拖动您的高分辨率视频到手刹 选择“图片设置”图标 调整大小到正确的大小-关闭并按“开始”图标-保存到桌面

在我的MBP的设置>显示>显示,我看到一个设置为“分辨率:默认显示/缩放”。我将其设置为“更大的空间”,然后尝试各种模拟器,所有模拟器似乎都能100%地适应放大屏幕。但我怀疑这在你的全高清屏幕上行不通……

另一种选择可能是尝试在模拟器上安装某种VNC服务器解决方案,如https://github.com/wingify/vnc,并使用VNC记录器进行记录-我相信有一个Python VNC记录器。

使用Xcode 12.5的新版本,您可以简单地使用⌘+ r记录模拟器屏幕。有关详细信息,请访问这里。

Taking a Screenshot or Recording a Video Using the Command Line You can take a screenshot or record a video of the simulator window using the xcrun command-line utility. Launch your app in Simulator. Launch Terminal (located in /Applications/Utilities), and enter the appropriate command: To take a screenshot, use the screenshot operation: xcrun simctl io booted screenshot You can specify an optional filename at the end of the command. To record a video, use the recordVideo operation: xcrun simctl io booted recordVideo <filename>.<extension> To stop recording, press Control-C in Terminal. Note: You must specify a filename for recordVideo. The default location for the created file is the current directory. For more information on simctl, run this command in Terminal: xcrun simctl help For more information on the io subcommand of simctl, run this command: xcrun simctl io help

来自Apple文档。

我也面临着同样的问题。它有一个非常简单的解决方案,对我来说很管用。只需遵循以下步骤:

1.在iMovie中制作一个预览视频。

2.使用共享文件选项导出视频。选择1920x1080,因为它可以用于5S和6 +。

3.下载Appshow for Mac by techsmith (https://www.techsmith.com/techsmith-appshow.html)。它是专门为制作应用程序预览视频。但我不推荐它制作视频,而只是用于导出。

4.选择一个新的应用预览视频,并通过选择更少的帧来自定义它,你可以稍后删除。

5.将iMovie视频导入这个模板。在右上角,你可以选择任何你想要的分辨率,appshow有应用程序预览所需的所有分辨率。

6.最后,只需选择设备并导出所选分辨率的视频。