Performance - Software Requirements(准则2.5.4-性能-软件要求)解决方案

阅读:42 发布时间:2022-04-06 18:26

苹果原文:

Guideline 2.5.4 - Performance - Software Requirements



Your app declares support for audio in the UIBackgroundModes key in your Info.plist, but we were unable to play any audible content when the app was running in the background.


Next Steps

The audio key is intended for use by apps that provide audible content to the user while in the background, such as music player or streaming audio apps. Please revise your app to provide audible content to the user while the app is in the background or remove the "audio" setting from the UIBackgroundModes key.

Please see attached screenshots for details.



机器译语:

准则2.5.4-性能-软件要求

你的应用程序声明支持信息中的UIBackgroundModes键中的音频。plist,但当应用程序在后台运行时,我们无法播放任何音频内容。

下一步

音频键用于在后台向用户提供音频内容的应用,如音乐播放器或流媒体音频应用。请修改你的应用程序,在应用程序处于后台时向用户提供音频内容,或从UIBackgroundModes键中删除“音频”设置。

有关详细信息,请参见附件中的屏幕截图。



解决方案:

  1. 如果没有使用音频播放需求,可在info.plist 文件中删除UIBackgroundModes键

  2. 有使用音频则APP没有正确呈现音频的用途。整改


相关内容