その後のその後

iOSエンジニア 堤 修一のブログ github.com/shu223

UIBackgroundModes key を定義しておきながらバックグラウンド機能を実装してないとリジェクトされます

オーディオまわりの勉強がてら作った個人アプリがリジェクトされました。
理由はこちら。

2.16: Apps may only use background multitasking for one of the approved background modes; VoIP, audio playback, location, task completion


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.


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. The audio background mode is meant for applications with audio streams, like radio applications.


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 key をInfo.plistに定義しさえすればバックグラウンド再生ってできるのかな、と試してみて、やってみたら再生されなくて、そのままにしてたのでした。


バックグラウンド再生は必須要件じゃないのでキーを削除して再申請。