Webview Music in Background

Hello Apple Developer Community.


I have a Webview with some code stuff init for push notifications etc. My Problem now is that when I run the APP in the Simulator I can lock the screen and also go to Home without interrupt the sound. On the iDevice it does not aork. When the phone goes to sleep or I press Home the Music stopps playing. I already checked background compatiblities in xcode and edited the plist.info file. However im trying to to this now since a week and can't get this fixed.

Webview Music in Background
 
 
Q