I have a published (Cocos2d+UIKit)app in the store, which reproduces audio tracks and needs to keep playing them even if the iPhone is locked or the app is in background.
It used to work perfectly well until iOS 5.0 but since iOS 5.1 the app is restarted: sound stops, when user unlocks iPhone doesn't appear active, when opening again it shows the splash screen and initial window.
I tried to debug it but when I lock the iPhone, xCode gets paused in EAGL... I also tried to play the tracks in a MPMoviePlayerViewController and it does the same.
Please help, I am getting many bad reviews every day due to this issue...