Thursday, October 13, 2011

Stop Activity Indicator in Status Bar ?


Implement the UIWebViewDelegate in your class file that holds the UIWebView,
and insert the following two methods:
- (void)webViewDidStartLoad:(UIWebView *)webView

- (void)webViewDidFinishLoad:(UIWebView *)webView
 In the start method, place your:
 [UIApplication sharedApplication].networkActivityIndicator
Visible = YES;
 ... and in the finish, place:
 [UIApplication sharedApplication].networkActivityIndicator
Visible = NO;

Hope this helps!

No comments:

Create a list in SwiftUI with sticky section headers

 Sample Code import SwiftUI struct ContentView : View {     @State var isCustomViewControllerDisplayed = false     @State private va...