从iPhone中的相机拍摄视频时将视频保存到照片库 [英] Saving videos to photo library when taken from camera in IPhone
问题描述
我想知道是否有一种类似于UIImageWriteToSavedPhotosAlbum(UIImage * image,id completeTarget,SELcompleteSelector,void * contextInfo)的方法,该方法将从iPhone相机拍摄的视频保存到用户相册...一直在尝试在苹果文档中寻找它,但还没有发现任何东西.
I was wondering if there is a method similar to UIImageWriteToSavedPhotosAlbum(UIImage *image, id completionTarget, SEL completionSelector, void *contextInfo), that saves Videos taken from the iphone camera to the u sers Photo Albums... been trying to look for it in apple docs but havent found anything.
谢谢
推荐答案
深入研究:答案是SDK 3.0中没有此功能,但是它在3.1中推出,该方法无效UISaveVideoAtPathToSavedPhotosAlbum(NSString * videoPath,编号完成目标,SEL完成选择器,无效* contextInfo);,这是一个链接http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/c/func/UISaveVideoAtPathToSavedPhotosAlbum
After digging around: The answer is there is no such feature in SDK 3.0, however it is coming in 3.1, the method is void UISaveVideoAtPathToSavedPhotosAlbum ( NSString *videoPath, id completionTarget, SEL completionSelector, void *contextInfo );, heres a link http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/c/func/UISaveVideoAtPathToSavedPhotosAlbum
这篇关于从iPhone中的相机拍摄视频时将视频保存到照片库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!