[英]Why did my app get rejected because “Multitasking apps may only use background”?
I tested my app in the background by setting the alarm and watching a video, and my alarm was correctly ringing when I was watching the video. 我通过设置闹钟并观看视频在后台测试了我的应用,当我观看视频时,闹钟正确响了。
Even when I removed my app from the background the alarm was ringing. 即使当我从后台删除我的应用程序时,闹铃也会响起。 Now I wonder if I correct understood Apple's reply.
现在,我想知道我是否正确理解了苹果的答复。 Can any one decode the reply?
有人可以解码回复吗?
We found that your app uses a background mode but does not include functionality that requires that mode to run persistently.
我们发现您的应用使用后台模式,但不包含要求该模式持续运行的功能。 This behavior is not in compliance with the App Store Review Guidelines.
此行为不符合《 App Store审查指南》。
We noticed your app declares support for audio in the UIBackgroundModes key in your Info.plist, but no audible content is played when the application is in the background.
我们注意到您的应用在Info.plist的UIBackgroundModes键中声明了对音频的支持,但是当应用在后台时,不会播放可听的内容。 While your intention may have been to provide this functionality, at the time of review, we were not able to play background audio for your app.
尽管您可能打算提供此功能,但在审查时,我们无法为您的应用播放背景音频。
As indicated in the iOS Application Programming Guide:
如《 iOS应用程序编程指南》中所述:
"This key is intended for use by applications that provide audible content to the user while in the background, such as music-player or streaming-audio applications."
“此键旨在供在后台为用户提供可听内容的应用程序使用,例如音乐播放器或流音频应用程序。”
Therefore, it would be appropriate to provide audible content to the user while the app is in the background or remove the "audio" setting from the UIBackgroundModes key.
因此,在应用程序处于后台时向用户提供可听内容或从UIBackgroundModes键中删除“音频”设置将是适当的。
What don't you understand about it? 您对此不了解吗? It is very clear that you gave a UIBackgroundMode of "audio" but didn't play any audio in the background.
很明显,您给UIBackgroundMode设置了“ audio”,但没有在后台播放任何音频。
You can enable Background Modes from capabilities and there check audio and background fetch . 您可以从功能启用“ 背景模式” ,然后检查音频和背景提取 。 Then your app is able to access all audio streaming from the background.
然后,您的应用程序便可以从后台访问所有音频流。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.