UIwebview loader on iphone
<p>this code works fine , its show activityIndicator loading and hide after loading
but lets say <strong>if its on loading stage and then i go back then my apps quit</strong> , so how to avoid this</p>

<p>if i go back quickly withiut site fully loaded then it quits ( i think activityIndicator is culprit)</p>

<p>**</p>

<pre><code>- (void)webViewDidStartLoad:(UIWebView *)webView {
    [activityIndicator startAnimating];
   // myLabel.hidden = FALSE;
}
- (void)webViewDidFinishLoad:(UIWebView *)webView {
    [activityIndicator stopAnimating];
    activityIndicator.hidesWhenStopped=TRUE;
    //myLabel.hidden = TRUE;
}
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {

    self.title=@"KKH Website";

    [super viewDidLoad];
    NSURL *requestUrl = [NSURL URLWithString:@"http://www./index.html"];
    NSURLRequest *requestObj = [NSURLRequest requestWithURL:requestUrl];
    [aWw loadRequest:requestObj];





}
</code></pre>

<p>**
updates</p>

<p><strong>if i link uiwebview delegate to fileowner then its creating isuee , but i need delegate also since i want to show loading</strong> </p>
