title: Update text in alert message
body: <p>Still trying to update the message in an UIAlertview while the alert is active. I removed most of the first part of the question and publish more code in the update below. </p>
  
  <p>UPDATE 3: Adding more code!
  In the .h file I declare the following (among others):</p>
  
  <pre><code>@interface WebViewController : UIViewController &lt;UIWebViewDelegate&gt; {
  
  IBOutlet UIWebView *webView;
  UIAlertView *alert;
  
  }
  </code></pre>
  
  <p>I @property and @synthesize the UIAlertview to.</p>
  
  <p>Next I create the alert in an IBAction which is run by a button click:</p>
  
  <pre><code>-(IBAction)convert {
  
  convertButton.enabled = NO;
  mailButton.enabled = NO;
  backButton.enabled = NO;
  
  //show the alert window
  alert = [[UIAlertView alloc] initWithTitle:@"Converting in progress\nPlease Wait..." message:@"\n\n\n" delegate:self cancelButtonTitle:nil otherButtonTitles: nil];
  [alert show];
  
  UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
  
  // Adjust the indicator so it is up a few pixels from the bottom of the alert
  indicator.center = CGPointMake(alert.bounds.size.width / 2, alert.bounds.size.height - 50);
  [indicator startAnimating];
  [alert addSubview:indicator];
  
  [indicator release];
  
  [alert setMessage:@"getting roster"];
  }
  </code></pre>
  
  <p>It then jumps to the following function:</p>
  
  <pre><code>- (void)didPresentAlertView:(UIAlertView *)progressAlert {
  
     //A lot of code
        [alert setMessage:@"Checking history"];
     //more code
        [alert setMessage:@"writing history"];
     //even more code
        [alert setMessage:@"converting roster"];
  }
  </code></pre>
  
  <p>The didPresentAlertView method ends with an ASIHTTPRequest to post data to a webpage and when this request is finished the code finally jumps to the last method to exit the UIAlertView and closes everything up:</p>
  
  <pre><code>- (void)requestFinished:(ASIHTTPRequest *)request {
  
     [timer invalidate];
     [alert dismissWithClickedButtonIndex:0 animated:YES];
     backButton.enabled = YES;
     [alert release];
  }
  </code></pre>
  
  <p>I also removed the autorelease from my UIAlertView init to make sure it exists during the rest of the process.</p>
  
  <p>As it is now, the code only fires the very first setMessage -> 'getting roster' and the very last -> 'converting roster'. The setMessage requests in the middle do not get fired..</p>
  
  <p>Really hope someone can help me here!</p>
  
  <p>Thanks all!</p>