iOS AVPlayer 简单调用

2017-02-08  本文已影响0人  日薄西山沙漠黄

AVPlayerViewController*avvc = [[AVPlayerViewControlleralloc]init];

avvc.player= [[AVPlayeralloc]initWithURL:url];

[selfpresentViewController:avvcanimated:YEScompletion:nil];

上一篇下一篇

猜你喜欢

热点阅读