iOS开发 使用TZImageManager获取本地视频URL
2019-11-05 本文已影响0人
iOS门三闫
//获取本地视频路径 url
[[TZImageManager manager] getVideoWithAsset:asset completion:^(AVPlayerItem *playerItem, NSDictionary *info) {
NSLog(@"本地视频URL----%@",[NSURL URLWithString:[NSString stringWithFormat:@"%@",[playerItem.asset valueForKey:@"URL"]]]);