how to stop activityIndicator only when webView content is completely loaded
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
精彩评论