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:

Swift Operators - Basic Part 3 (Range operators in swift)

Range Operators: Closed Range operators  Half-Open Range Operators One-Sided Ranges Closed Range Operators:  a...b It defines...