IPhone AudioStreamer not working on OS4

I am using Matt Galagher AudioStreamer http://github.com/mattgallagher/AudioStreamer/ It works fine, however how do I do the job on the background of the IPhone OS4?

+3
source share
1 answer

Mark this document, in particular:

Applications that play audio can continue to play this sound in the background. To indicate that your application is playing background audio, include the UIBackgroundModes key in its Info.plist file. The value for this key is an array containing the sound string. When this key is present, system audio systems automatically prevent the application from pausing when moving to the background. Your application continues to run in the background while it plays audio. However, if this key is missing when the application moves to the background, or if your application stops playing sound in the background, your application pauses.

-, , . , , . , . , .

+7

Source: https://habr.com/ru/post/1758375/


All Articles