iOS background capabilities audio

Hi,

I have an app with soundcloud embeded in it. I have turned on the Background Audio & Ariplay capability in xcode for the app, but it does not seem to be working as anytime the screen locks or I switch to another app, the sound goes off.

Has anyone managed to get it working or know how I can get it to work?

Cheers