title: Activity indicator not hiding when webpage is loaded
body: <p>The activity indicator isn't hiding when the web page has finished loading. 
  Here is my </p>
  
  <p><strong>.h file</strong> </p>
  
  <pre><code>@interface PropertyViewController : UIViewController{
  
      IBOutlet UIWebView *propertyNexusHome;
      IBOutlet UIActivityIndicatorView *wheel;
      NSTimer *timer;
  }
  </code></pre>
  
  <p><strong>.m file</strong></p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
  
      [property loadRequest:[NSURLRequest requestWithURL:
                           [NSURL URLWithString:@"http://www.google.com"]]];
      [property addSubview:wheel];
      timer = [NSTimer scheduledTimerWithTimeInterval:(1.0/2.0)
                                               target:self
                                             selector:@selector(loading)
                                             userInfo:nil
                                              repeats:YES];
      // Do any additional setup after loading the view, typically from a nib.
  }
  -(void)loading {
      if (!property.loading)
          [wheel stopAnimating];
  
      else
          [wheel startAnimating];
  
  }
  
  @end
  </code></pre>
  
  <p>Im not sure why its not disappearing, how ever it does stop spinning when the page has loaded. </p>
  
  <p>Thanks in advance. </p>