更新时间:2022-12-22 12:11:45
如果您正在使用WebView,则在ViewDidLoad中编写startAnimating ActivityIndicator,此代理方法将在您加载数据时自行调用
If you are using WebView then write startAnimating ActivityIndicator in ViewDidLoad and this delegate method will call by itself when your data will be loaded
- (void)webViewDidFinishLoad:(UIWebView *)webView
{
//[[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:NO];
[ActivityIndicator stopAnimating];
}
希望有所帮助。谢谢:)
Hope it helps.Thanks :)