添加UIBackgroundModes" audio"播放AirPlay视频时会拒绝应用?

时间:2016-07-23 19:01:07

标签: ios airplay

我正在开发一个在AVPlayer上传输HLS视频的应用。根据这里的指南 https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html 和这里 https://developer.apple.com/library/ios/qa/qa1668/_index.html#//apple_ref/doc/uid/DTS40010209-CH1-VIDEO 在重要框内。

关于这个My App has been rejected because of UIBackgroundModes

如果这样做,他们拒绝该应用程序 - 如果我没有添加密钥,只要我按下主页按钮导航离开应用程序,AirPlay就会退出,是否有解决方法?

1 个答案:

答案 0 :(得分:0)

从那里自己的文档引用这行

重要提示 UIBackgroundModes 音频键还允许应用使用AirPlay在后台流媒体内容

取自文件here。我确实遇到了同样的问题并引用了他们这个文档然后接受了应用程序。

相关问题