iPhone - animating a tableView section Header
<p>I have created this tableView section header. It is basically a UIView container where I wrapped all elements that will go on that section header.</p>

<p>This container view is returned by </p>

<pre><code>- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section 
</code></pre>

<p>and everything is working fine.</p>

<p>Now I want the header to appear in fade in, as the table appears. So, I initially declare alpha = 0 for the container and then do this on viewDidAppear (ah, this table is inside a view controller that is appearing).</p>

<pre><code>- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];

    [UIView animateWithDuration:1.0
         animations:^{
             [self.tableHeader setAlpha:1.0f];
     }];

}
</code></pre>

<p>nothing happens and the header continues invisible.</p>

<p>I have tried to add</p>

<pre><code>[self.tableView beginUpdates]; //and
[self.tableView beginUpdates];
</code></pre>

<p>before and after the mentioned animation, without success.</p>

<p>It appears to me that the table header is not updating and continues invisible.</p>

<p>How can I do that?</p>

<p>thanks.</p>
