iOS UIWebView crash in “WebThread”

前端 未结 3 1880
长情又很酷
长情又很酷 2020-12-09 22:23

Anyone able to help me out with this crash? It happens intermittently when switching back and forth between some UIWebView instances while they are loading.

The cra

3条回答
  •  渐次进展
    2020-12-09 22:56

    Check that your UIWebViewDelegate delegate is still valid (ie. not released) if your UIWebView is in the background. This problem may be caused by the webview trying to call your delegate with

    - (void)webViewDidFinishLoad:(UIWebView *)webView;
    

    in the background after loading has completed.

提交回复
热议问题