video trimming in uiimagepicker

 ̄綄美尐妖づ 提交于 2019-12-08 03:13:08

问题


I was able trim the video when i used the photo library source type. But when I use the camera source type trimmed video appears to be saved. but when i play the saved video it is not trimmed. Can any one pls help me with this?


回答1:


It looks like you can't use uiimagepicker AND get the edited video. You have to use UIVideoEditorController.

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIVideoEditorController_ClassReference/Reference/Reference.html#//apple_ref/occ/cl/UIVideoEditorController



来源:https://stackoverflow.com/questions/4133110/video-trimming-in-uiimagepicker

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!