UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(filePath)始终返回No.

时间:2017-03-27 07:19:13

标签: ios objective-c

if(UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(filePath)){                                               UISaveVideoAtPathToSavedPhotosAlbum(filePath,self,@ selector(video:didFinishSavingWithError:contextInfo :),nil);                                                                                     }

打印filePath的描述: /var/mobile/Containers/Data/Application/F30CE4FC-435B-414E-BD79-27BA9CE8F4A9/Documents/NORM0078.MP4

我该如何解决?请帮帮我,谢谢。

1 个答案:

答案 0 :(得分:0)

AllRight,我找到了解决方案。 Quickplayer(iphone的默认播放器)不支持播放视频类型,因此视频无法保存到系统相册中。