I am trying to pick video by ELCImagePickerController from photo library, but when I print this
NSLog(@"%@",[dict valueForKey:@"UIImagePickerControllerMediaType"]);
it returns ALAssetTypeVideo , not a public.movie type,
I have no idea is there any way to pick a movie(like .mov) from ALAssetTypeVideo ?
sorry , My English is not very good :')
Change ALAssetsGroup filter to allAssets in ELCAlbumPickerController.m file:
here:
ALAssetsGroup *g = (ALAssetsGroup*)[assetGroups objectAtIndex:indexPath.row];
[g setAssetsFilter:[ALAssetsFilter allPhotos]];
and here:
[picker.assetGroup setAssetsFilter:[ALAssetsFilter allPhotos]];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With