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

还有别的选择吗?

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

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

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


当前回答

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

其他回答

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.

好运!

在Xcode 12中,只需在模拟器中按cmd + R来记录屏幕。cmd + S进行截图。

给喜欢使用ZSH函数的用户的提示。您可以通过添加一个与@Tikhonov Alexander的答案相同的函数来简化事情。

你可以这样开始:

edit ~/.zshrc

进入你的终端。

然后在文件中添加这个函数。

function recsim() {
    echo -n "Use CTRL+C to stop recording";
    xcrun simctl io booted recordVideo --codec=h264 --mask=black "$1.mp4";
}

要使用,输入如下内容:

recsim appPreview

进入你的终端窗口。注意:添加功能后必须重新启动终端才能工作。

此函数改编自Antoine Van Der Lee关于如何在bash中实现此功能的博客文章,可以在这里找到。

以下是一个有效的解决方案,不需要300美元(FinalCut Pro),但它需要ScreenFlow (AppStore中的ScreenFlow应用程序)(100美元):

把你的设备连接到运行优胜美地的Mac电脑上 启动Quicktime并选择File/Newi Movie Recording 启动ScreenFlow并捕获您的视频 在ScreenFlow中编辑视频(添加文本,音乐等) 裁剪视频,使其只包含设备屏幕 导出苹果要求大小的视频(例如,1334x750)

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

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

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