AVPlayerViewController*avvc = [[AVPlayerViewControlleralloc]init];
avvc.player= [[AVPlayeralloc]initWithURL:url];
[selfpresentViewController:avvcanimated:YEScompletion:nil];
AVPlayerViewController*avvc = [[AVPlayerViewControlleralloc]init];
avvc.player= [[AVPlayeralloc]initWithURL:url];
[selfpresentViewController:avvcanimated:YEScompletion:nil];
本文标题:iOS AVPlayer 简单调用
本文链接:https://www.haomeiwen.com/subject/ihfbittx.html
网友评论