iOS5 pushes your app to the background when the screen is locked.
In my UIBackgroundModes in the plist file, I can set audio, location and voip to continue in the background.
How about video? I’m using MPMoviePlayerController to play a video file but I do not want the video to pause on a screen lock. It’s fine if the user cannot see the video, but I still want the audio to continue playing.
Is there any way to do this?
No solution to this problem yet. The only one that might work is:
Have a separate audio and video track that start simultaneously. Continue audio on screen lock and on screen unlock, jump the video to the audio file’s progress.