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

还有别的选择吗?

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

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

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


当前回答

我发现的最好的工具是Appshow。访问http://www.techsmith.com/techsmith-appshow.html(我不为他们工作)

其他回答

苹果模拟器用户指南在“使用命令行截图或录制视频”段落中写道:

您可以使用xcrun命令行实用程序截取屏幕截图或录制模拟器窗口的视频。


要录制视频,请使用终端中的recordVideo操作:

xcrun simctl io booted recordVideo <filename>.<extension>

注意,该文件将在终端的当前目录中创建。


如果你想将视频文件保存在你的桌面文件夹中,使用以下命令:

xcrun simctl io booted recordVideo ~/Desktop/<filename>.<extension>

要停止录制,请在终端中按Control-C。

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

从Xcode 9和以上,你可以截图或录制视频使用simctl二进制,你可以在这里找到它:

/Applications/Xcode.app/Contents/Developer/usr/bin/simctl

您可以将它与xcrun一起使用,在命令行中命令模拟器。

在命令行中运行截图: xrun simctl IO启动截图 使用命令行在模拟器上录制视频: xrun simctl io启动recordVideo文件名。g mp4 / mov)

注意:您可以在您选择的任何目录中使用此命令。该文件将保存在该目录中。

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

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

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

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

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

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

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

You can use the QuickTime screen recording and the iOS Simulators to do your video recordings. The tricky thing here is to get the correct size so that iMovie can detect the output resolution when you go to export the AppPreview. I haven't found a way to select the output res in iMovie so if must detected by the format of the media you are using. It may take you several tries but it's doable. It's one of those: do I have $300 for FinalCut Pro or do I have an hour or so of my time? You only need three recordings as mentioned above. I could actually do two of them on devices because I have them but I don't have an iPhone 6 (yet ... :) ). I also like the simulators because you can use something like SimFinger to simulate gestures and pressing of buttons.

好运!