且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

UIAlertView在iPhone应用程序中动态显示

更新时间:2022-12-22 12:11:45

如果您正在使用WebView,则在ViewDidLoad中编写startAnimating ActivityIndi​​cator,此代理方法将在您加载数据时自行调用

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 :)