1

我正在创建一种Instagram视频录制和发布应用程序。我的最长录制时间为 15 秒,我需要显示进度条。此链接帮助.Code here。

 CMTime maxDuration = CMTimeMakeWithSeconds(15, 50);

 [[self movieFileOutput] setMaxRecordedDuration:maxDuration];

结果stopRecording不被调用也AVCaptureFileOutputRecordingDelegate被调用在 15 秒结束。我需要创建 3 个每个 5 秒的视频并相应地更新进度条,以便在 15 秒结束时我的进度条已满,就像Instagram一样。请帮忙

4

0 回答 0