5

有什么方法可以支持AirPlayAVPlayer?我知道它可以用 来完成MPMoviePlayerController,但我在文档中没有看到 AVPlayer 支持的迹象。

谢谢!

4

2 回答 2

4

这在 iOS4 中是不可能的,但在 iOS5 中会出现。

于 2011-06-11T12:18:15.757 回答
2

请参阅:http: //developer.apple.com/library/ios/#documentation/AVFoundation/Reference/AVPlayer_Class/Reference/Reference.html

具体来说,将allowAirPlayVideo设置为YES

于 2012-01-27T00:36:50.077 回答