我正在从https://github.com/B-Sides/ELCImagePickerController使用ELCImagePickerController
如何使用它仅显示视频?
最佳答案
导入.m
#import <MobileCoreServices/UTCoreTypes.h>
和你的方法
ELCImagePickerController *elcPicker = [[ELCImagePickerController alloc] initImagePicker];
elcPicker.mediaTypes = [[NSArray alloc] initWithObjects: (NSString *) kUTTypeMovie, nil];