I’m trying to play audio file at particular time which i have set.for that I have added audio in “UIBackgroundModes” in info.plist and backgroundtaskidentifier in didEnterBackground.Its working in simulator but not in device.Can anyone help to solve this.
Thanks in Advance…
You can check out this reference app with streaming and backgrounding of audio.
EDIT:
Example of a local notification w/ attached sound. More detail here.