[問題] iOS申請上架被退件,背景音頻???

作者: tkdmaf (皮皮快跑)   2014-05-17 12:39:37
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資料取得、處理用戶資料、前景推播、
背景推播……所以幾乎會遇到一大堆奇奇怪怪的事情。)
作者: benjenq (Ben(憋))   2014-05-17 22:05:00
我猜退件的原因是:審查時找不到啓用背景音效的功能項目
作者: benjenq (Ben(憋))   2014-05-17 22:06:00
在Info加上這個設定,但APP內沒有相關功能可以對應
作者: benjenq (Ben(憋))   2014-05-17 22:08:00
你說到這功能只能透過推播來啓動,並沒有在APP界面功能內可能是這樣才會被退件。
作者: benjenq (Ben(憋))   2014-05-17 22:10:00
解決方式:1.Reply時說明,但會不會過得運氣
作者: benjenq (Ben(憋))   2014-05-17 22:11:00
2.找個理由在操作界面,把這功能加進去
作者: tkdmaf (皮皮快跑)   2014-05-18 23:55:00
我重新檢視我的code,把原本背景執行音效改為app的內部功能可能最初我對於推播音效的設置有些誤解了。

Links booklink

Contact Us: admin [ a t ] ucptt.com