Search code examples
iphoneobjective-caudiostreamer

App is not working in the background mode


i'm working on an audio based app. audio is playing in the background but when the track changes it stops. and when again i open the app it resumes and plays the next track.

i'm using audio streamer in my app

all is working fine when app is in the foreground. Please help me with this Thanks in advance.


Solution

  • You have to add the Required background modes modes to the info.plist and add the mode App plays audio.