添加 UIBackgroundModes "audio" 在播放 AirPlay 视频时应用程序被拒绝?
adding UIBackgroundModes "audio" gets app rejected when playing a video for 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 会在我按主页按钮导航出应用程序后立即退出,是否有解决方法?
从他们自己的文档中引用这一行
重要提示: UIBackgroundModes 音频密钥还将允许应用程序使用 AirPlay 在后台流式传输媒体内容
摘自文档 here。我完全有同样的问题并引用了他们这个文档然后应用程序被接受了。
我正在开发一个在 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 会在我按主页按钮导航出应用程序后立即退出,是否有解决方法?
从他们自己的文档中引用这一行
重要提示: UIBackgroundModes 音频密钥还将允许应用程序使用 AirPlay 在后台流式传输媒体内容
摘自文档 here。我完全有同样的问题并引用了他们这个文档然后应用程序被接受了。