WKWebView process did become unresponsive in iOS 17

Recently, we ran into a bit of a problem when using WKWebView. Sometimes, problems with all pages blank occur which use WKWebView.

I implemented WKNavigationDelegate and found that it stops at

- (void)webView:(WKWebView *)theWebView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler

and it won't call below func forever

- (void)webView:(WKWebView*)theWebView didStartProvisionalNavigation:(WKNavigation*)navigation

I suspected that the render process is terminated and it won't restart. Then i try to resolve this problem by call reload func

[self.webView reload];

But it didn't work. In The Meanwhile, i got some error message in console

I have tested it in iOS 16 and 17. only iOS 17 got the issue.

Pray for some help. Thanks a lot.

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, include sample project and sysdiagnose, and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

WKWebView process did become unresponsive in iOS 17
 
 
Q