ios选取相册视频,过滤掉所有图片!

时间:2022-04-12 08:31:40

imagePicker = [[UIImagePickerController alloc]init];

imagePicker.mediaTypes = [NSArray arrayWithObjects:(NSString *)kUTTypeMovie, nil];

imagePicker.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;