Swift Webview Error - Audio presentation output context not supported by FigEndpointPicker

Viewed 1454

I have an issues with my swift application. I'm using UIWebview and I been getting the following error:

[AVFigEndpointPickerOutputContextImpl sharedAudioPresentationOutputContext]: Audio presentation output context not supported by FigEndpointPicker

and Thread eroor

Thread 4: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

Here is my ViewController.swift code

import UIKit

class ViewController: UIViewController {


    @IBOutlet var webView: UIWebView!
    override func viewDidLoad() {
        super.viewDidLoad()
        //UserDefaults.standard.register(defaults: ["UserAgent" : "Chrome Safari"])
        // Do any additional setup after loading the view, typically from a nib.
        let url = URL(string:"http://example.com/")
        let urlReq = URLRequest(url:url!)

        webView.loadRequest(urlReq)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}
2 Answers
Related