开发者

how to stop activityIndicator only when webView content is completely loaded

开发者 https://www.devze.com 2023-02-28 12:21 出处:网络
I 开发者_如何学Gocreated an webView-based application. I\'m using an activityIndicator; its animation begins at webViewDidStartLoad, and finishes at webViewDidFinishLoad.

I 开发者_如何学Gocreated an webView-based application. I'm using an activityIndicator; its animation begins at webViewDidStartLoad, and finishes at webViewDidFinishLoad.

The problem is that the activityIndicator is stopped, but my webView content is not completely loaded.

How can I fix it? How can I stop the ActivityIndicator only when ALL content of my webView is shown?


You need to remove the activity indicator in this delegate: webViewDidFinishLoad

how to stop activityIndicator only when webView content is completely loaded

0

精彩评论

暂无评论...
验证码 换一张
取 消