IOS: ActivityIndicator über UITableView… Wie geht das?

Ich möchte einen Aktivitätsindikator über einer UitableView anzeigen, während Daten geladen werden (in einem anderen Thread). Also in der ViewDidLoad-Methode des UITableViewController:

<code>-(void)viewDidLoad
 {
    [super viewDidLoad];

    //I create the activity indicator
    UIActivityIndicatorView *ac = [[UIActivityIndicatorView alloc]  
                      initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
    [ac startAnimating];

    //Create the queue to download data from internet
    dispatch_queue_t downloadQueue = dispatch_queue_create("PhotoDownload",NULL); 
    dispatch_async(downloadQueue, ^{
      //Download photo
      .......
      .......
      dispatch_async(dispatch_get_main_queue(), ^{
         ......
         ......
         [ac stopAnimating];
      });
    });
   .......
</code>

Warum wird die Aktivitätsanzeige nicht über der Tabellenansicht angezeigt? Wie kann ich das erreichen?

Antworten auf die Frage(5)

Ihre Antwort auf die Frage