No sound on UIWebView iOS10
<p>I load on UIWebView a HTML game from local files. 
iOS 10.2 / XCode 8 / Swift 3</p>

<pre><code>    override func viewDidLoad() {
        super.viewDidLoad()
            if let path = Bundle.main.path(forResource: "index", ofType: "html", inDirectory: "game") {
            webView.loadRequest(URLRequest(url : URL(fileURLWithPath: path)))
        }
    }
</code></pre>

<p>Everything seems fine, but I cant hear any sound on game.</p>

<p>I open the same files (game) from localhost server via Mobile's Safari browser and sound seems OK. So i'm sure that html/javascript files &amp; connection is OK and issue has to do with iOS.</p>

<p>Added "Required background modes" -- > "App plays audio or streams audio/video" in info.plist but nothing changed. No sound on device.</p>