简体   繁体   English

为什么我的应用程序因为“多任务应用程序只能使用后台”而被拒绝?

[英]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.

相关问题 2.16:多任务应用只能将后台服务用于其预期目的:VoIP等 - 2.16: Multitasking apps may only use background services for their intended purposes: VoIP etc Apple 因为 iPad 而拒绝了我的应用程序,但我的应用程序仅适用于 iPhone - Apple rejected my app because of iPad, but my app is only for iPhone 应用被拒绝,因为它不适用MFi? - app was rejected because it did not apply MFi? 苹果因为使用社交登录而拒绝了我的应用 - Apple has rejected my app because of the use of a social login Apple Watch的应用程序被拒绝,因为应用程序未安装在Apple Watch上 - App with Apple Watch rejected because app did not install on the Apple Watch App Store:如果我使用与预期不同的设备尺寸进行视频预览,我的应用程序可能会被拒绝吗? - App Store: may my app be rejected if I use different device sizes than expected for video previews? AppStore由于adsIdentifier拒绝了我的应用 - AppStore rejected my app because of advertisingIdentifier 由于UIBackgroundModes,我的应用已被拒绝 - My App has been rejected because of UIBackgroundModes 我的iOS应用因SYMLINK无效而被拒绝 - My iOS app was rejected because of an invalid SYMLINK iOS PhoneGap应用程序因使用localStorage而被拒绝 - iOS PhoneGap app rejected because of the use of localStorage
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM