gpt4 book ai didi

ios - 2.16 : Multitasking apps may only use background services for their intended purposes: VoIP etc

转载 作者:行者123 更新时间:2023-11-29 00:57:47 25 4
gpt4 key购买 nike

我创建了一个 iBeacon 应用程序来使用 phonegap/cordova 检测信标。该应用程序的工作原理是,一旦它检测到附近的信标并且该应用程序关闭或在后台运行,我就会使用包含音频(常见的苹果通知声音)的本地通知。我不知道为什么苹果会拒绝它并发表以下评论:

2.16: Multitasking apps may only use background services for their intended purposes: VoIP, audio playback, location, task completion, local notifications, etc. Next Steps The audio 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. 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. Your app does not provide continuous streaming audio. For details on delivering an audible alert for a local notification, please refer to the About Local and Remote Notifications Programming Guide. We hope you will consider making the necessary changes to be in compliance with the App Store Review Guidelines and will resubmit your revised binary.

最佳答案

Apple 的评论很明确。您的应用错误地指定它需要音频背景模式。但事实并非如此。该模式仅用于在应用程序处于后台时播放音频(例如音乐)。它不能仅用于从本地通知获取音频。

从您的应用程序中删除音频背景模式设置,Apple 会很高兴。

关于ios - 2.16 : Multitasking apps may only use background services for their intended purposes: VoIP etc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37451698/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com