UIWebView: when did a page really finish loading?

后端 未结 11 1196
轮回少年
轮回少年 2020-11-29 00:09

I need to know, when a web page has completely been loaded by UIWebView. I mean, really completely, when all redirects are done and dynamically loaded content is ready. I tr

11条回答
  •  离开以前
    2020-11-29 00:40

    My solution:

    - (void)webViewDidFinishLoad:(UIWebView *)webView
    {
        if (!webView.isLoading) {
            // Tada
        }
    }
    

提交回复
热议问题