How to check whether Application is Busy or not

Posted by Chandan Shetty SP on Stack Overflow See other posts from Stack Overflow or by Chandan Shetty SP
Published on 2010-04-01T06:06:56Z Indexed on 2010/04/01 6:13 UTC
Read the original article Hit count: 318

Hi,

I am using "networkActivityIndicatorVisible" in UIApplication for showing network spinning gear in status bar if my WebView( I am setting "networkActivityIndicatorVisible = YES" in "webViewDidStartLoad" and reseting in "webViewDidFinishLoad" ) is busy. It works fine for single UIWebView. For Multiple UIWebViews i have used a "stack" to trace which webview is busy and which one is idle and it is working fine.

My question is there is any way to know whether an application is busy or idle in application level(in UIApplication) instead of checking each webview so i can remove stack.

Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiapplication