将视频保存在iPhone模拟器中将其上传到Web服务 [英] save videos in iphone simulator & upload it to the web services
本文介绍了将视频保存在iPhone模拟器中将其上传到Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只想知道如何将视频保存到iPhone模拟器&如何将其上传到Web服务?
I just want to know that how I can save the videos to the iphone simulator & how I can upload it to the web services?
谢谢.
vpc=[[UIImagePickerController alloc] init];
vpc.delegate=self;
vpc.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
vpc.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType:vpc.sourceType];
vpc.allowsEditing = NO;
vpc.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeMovie];
[self presentModalViewController:vpc animated:YES];
我正在执行此操作,它给出一个错误,在使用前未声明kuTType,我不知道kuTTypeMovies,请尽快答复.
i am doing this it gives an error, kuTType undeclared before it used, i dont know about the kuTTypeMovies, please reply as soon as possible.
谢谢
推荐答案
我认为您缺少以下框架之一
I think you are missing one of below framework
libz.1.2.3.dylib
MobileCoreServices.framwork
SystemConfiguration.framwork
这篇关于将视频保存在iPhone模拟器中将其上传到Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文