[英]How to select multiple video from camera roll and photo Gallery?
I want to upload multiple video to server using ASIHttDataFormRequest.For selecting video ,I am using ImagePickerViewController But it doesn't give the option to select multiple video. 我想使用ASIHttDataFormRequest将多个视频上传到服务器。对于选择视频,我正在使用ImagePickerViewController,但是它没有提供选择多个视频的选项。
Bellow is the code, which is used to open imagePicker and but unable to select multiple video. 波纹管是代码,用于打开imagePicker,但无法选择多个视频。
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.delegate = self;
imagePicker.allowsEditing = YES;
imagePicker.mediaTypes = [[NSArray alloc] initWithObjects: (NSString *) kUTTypeMovie, nil];
imagePicker.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
[self presentViewController:imagePicker animated:YES completion:nil];
Please help me by giving some clue or code. 请提供一些提示或代码来帮助我。 Thanks in Advance 提前致谢
Use this sample 使用这个样本
https://github.com/B-Sides/ELCImagePickerController https://github.com/B-Sides/ELCImagePickerController
For video multiple selection refer 有关视频多重选择,请参阅
Use ELCImagePickerController to pick video 使用ELCImagePickerController选择视频
Hope it helps you.. 希望对您有帮助。
Here is the library to take a photo or select from library: https://github.com/fulldecent/FDTake 这是用来拍照或从库中选择的库: https : //github.com/fulldecent/FDTake
This works great so far for photos. 到目前为止,这对于照片来说效果很好。 Video is in progress. 视频正在进行中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.