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.
Post
Replies
Boosts
Views
Activity
Hi, I have received lots of crash report recently.It seems to be related to http2.We couldn't locate the problem any further.This is a so difficult problem to solve.
below is the crash report
symbol.crash
Hi,
I have received lots of crash report recently.The phenomenon is first stuck and then crash.This crash have bothered me for many days.
below is the crash report
symbol.crash