//获取本地视频路径 url
[[TZImageManager manager] getVideoWithAsset:asset completion:^(AVPlayerItem *playerItem, NSDictionary *info) {
NSLog(@"本地视频URL----%@",[NSURL URLWithString:[NSString stringWithFormat:@"%@",[playerItem.asset valueForKey:@"URL"]]]);
//获取本地视频路径 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
网友评论