且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

AVAssetExportSession outputfile

更新时间:2023-02-16 20:43:25

您的问题是[NSURL URLWithString:destinationPath]那。你需要像在解决方案中一样使用[NSURL fileURLWithPath:xxx]。发布这个只是为了澄清这是唯一的问题。

Your issue is [NSURL URLWithString:destinationPath] and only that. You need to use [NSURL fileURLWithPath:xxx] like you did in your solution. Posting this just to clarify that that is the only problem.