Minimum Steps to Reproduce: 1. load local html resource in WKWebView F.e.: let htmlPath = Bundle.main.path(forResource: "index", ofType: "html") let htmlUrl = URL(fileURLWithPath: htmlPath!, isDirectory: false) webView.loadFileURL(htmlUrl, allowingReadAccessTo: htmlUrl) 2. Observe html file rendering process Actual Result: Content of file displays, screen starts to blink Expected Result: Content of file should be displayed without problems Environment Details : iPadPro iOS 13.3
Please provide the entire project and the HTML that reproduces this. We need more than just a description of the problem. If you need to provide confidential info, please use bugreport.apple.com.
Created attachment 386093 [details] Sample which may be used to reproduce described behavior Provided project and the HTML that reproduces described issue.
Blink looks like toggling between two viewport sizes.
<rdar://problem/58089555>
I can reproduce.
This looks pretty bad. For the time being, you can work around the issue by adding this line: … let configuration = WKWebViewConfiguration() + configuration.defaultWebpagePreferences.preferredContentMode = .mobile webView = WKWebView(frame: view.bounds, configuration: configuration) …