Reasons
2.16: Multitasking apps may only use background services for their intended
purposes: VoIP, audio playback, location, task completion, local notificat-
ions, etc.
Thank you for your providing the information regarding your app. After
further review of the app we found the following:
2.16
We found that your app uses a background mode but does not include function-
ality that requires that mode to run persistently. This behavior is not in
compliance with the App Store Review Guidelines.
We noticed your app declares support for audio in the UIBackgroundModes key
in your Info.plist, but did not include features that require persistent
audio.
As indicated in the iOS Application Programming Guide:
"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.
For discrete code-level questions, you may wish to consult with Apple Deve-
loper Technical Support. When the DTS engineer follows up with you, please
be ready to provide:
- complete details of your rejection issue(s)
- screenshots
- steps to reproduce the issue(s)
- symbolicated crash logs - if your issue results in a crash log
If you have difficulty reproducing a reported issue, please try testing the
workflow as described in <https://developer.apple.com/library/ios/qa/qa1764/>
Technical Q&A QA1764: How to reproduce a crash or bug that only App Review or
users are seeing.
这是apple回应过来的结果。
我大意看了一下主要我做了以下的事情:
在背景执行一个接收推播的动作,然后当推播进来时会执行一段声音档。
照apple的说法似乎我背景执行声音档的方式不合规范?
所以我想请问各位大大。
如果我我希望在背景执行接收推播,然后要在收到推播讯息时,正确的执行
声音档是否有什么比较好的做法?然后能够通过apple的规范?
(第一次写iOS app上架的东西就要有server资料取得、处理用户资料、前景推播、
背景推播……所以几乎会遇到一大堆奇奇怪怪的事情。)