Webkit Memory leak in iOS

I have a memory leak on WebKit, and profiling through Xcode instruments gives a memory leak on the following.

WKHoverPlatter 1 0x281e7f7e0 96 Bytes WebKit -[WKContentView(WKInteraction) setUpInteraction]

Would anyone know how to fix this?

Here is my sample test code :

var webView: WKWebView!
override func loadView() {
        let webConfiguration = WKWebViewConfiguration()
        webView = WKWebView(frame: .zero, configuration: webConfiguration)
        webView.uiDelegate = self
        view = webView
}

override func viewDidLoad() {
        super.viewDidLoad()
        let myURL = URL(string:"https://www.apple.com")
        let myRequest = URLRequest(url: myURL!)
        webView.load(myRequest)
}

  

same issue here, although i went quite far to clear up the web view, and delegates and attached config after done with web view, still its kept in memory.

I think it's WebKit issue. WKHoverPlatter leaks is happened in my empty ViewController (just added the WKWebView).

    @IBOutlet weak var rndWebView: WKWebView!
    override func viewDidLoad() {
        super.viewDidLoad()
    }

same issue +1.

I face the same issue when i create a WKWebView in xib file, and use the leak tool in instrument find an WKWebSiteDataStrore object has leaked. When i create WKWebView programmly, the memory leak not appear.

Webkit Memory leak in iOS
 
 
Q