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

还有别的选择吗?

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

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

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


当前回答

我很惊讶没有人给我答案。这就是你要做的(如果你有至少一个合格的设备,这将起作用):

用你拥有的设备录制、编辑并完成应用预览。 导出为文件。 打开模拟器,在不同尺寸的iphone上打印屏幕1。 在iMovie中创建一个新的应用预览。 首先插入所需大小的截图,然后添加你已经制作的应用预览文件。 使用共享导出->应用预览 对于新的尺寸,重复步骤4到6。

你应该能够得到你的应用程序预览在所需的分辨率。

其他回答

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

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

不幸的是,iOS模拟器应用程序不支持保存视频。最简单的事情就是使用Quicktime播放器来录制屏幕。当然,你会看到鼠标与它交互,这不是你想要的,但现在我没有更好的选择。

使用xcrun simctl:

xxrun simctl IO启动截图<filename>。<文件扩展名>


使用屏幕截图:

使用cmd + shift + 5并调整选择的大小,以便记录模拟器。


使用QuickTime播放器:

您可以使用QuickTime Player录制屏幕。

打开QuickTime播放器 从菜单中选择File 选择新屏幕录制

现在在屏幕录制窗口中,单击录制按钮。

它将为您提供一个选项来记录整个屏幕或屏幕的选定部分。

您必须对模拟器进行选择,以便只记录模拟器部分。

对于AppleTV模拟器(tvOS, AppleTV),您应该添加——display=外部参数。我用这个保存到桌面:

xcrun simctl io booted recordVideo --display=external --codec=h264 --force ~/Desktop/SimulatorVideo.mov

如果文件存在,强制重写 -编解码器到更高的帧速率

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文档。