美文网首页
iOS开发 使用TZImageManager获取本地视频URL

iOS开发 使用TZImageManager获取本地视频URL

作者: iOS门三闫 | 来源:发表于2019-11-05 10:31 被阅读0次

//获取本地视频路径 url

            [[TZImageManager manager] getVideoWithAsset:asset completion:^(AVPlayerItem *playerItem, NSDictionary *info) {

                NSLog(@"本地视频URL----%@",[NSURL URLWithString:[NSString stringWithFormat:@"%@",[playerItem.asset valueForKey:@"URL"]]]);

相关文章

网友评论

      本文标题:iOS开发 使用TZImageManager获取本地视频URL

      本文链接:https://www.haomeiwen.com/subject/fxrsbctx.html