How To Fix: iOS 13 WebView Background 🎶 Audio Not Working (Audio Stops While In Background)

Girl choose music for running on smartphone

For many iOS WebView apps it makes sense to enable certain functions for certain background operations. The common function required to play an application is to play background audio. With this feature enabled, when the user switches to another app or locks their iOS device, the audio of your app can continue. To enable advanced playback features (such as AirPlay streaming and picture-in-picture playback in iOS), this feature is also required.

Unfortunately, there seem to be some WebView wrappers that unfortunately do not provide support for background sound under iOS 13, even if it still worked under iOS 12. The good news, however, is that the WebViewGold App Template for iOS already meets all requirements and supports background audio automatically and “out-of-the-box”.