Is it possible to set the alpha property of a UITableViewCell accessoryView?
<p>I'm using a <code>UIImageView</code> as the <code>accessoryView</code> in a <code>UITableViewCell</code> that I'm creating programmatically. I've tried everything I can think of to set the <code>accessoryView</code>'s <code>alpha</code> property, but it's not working. I'm able to set the <code>hidden</code> and <code>opaque</code> properties with no problems, but <code>alpha</code> is hating all over me.</p>

<p>I tried creating a new project that contains a single <code>UITableViewController</code> and the following <code>tableView:cellForRowAtIndexPath:</code> method:</p>

<pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {

    static NSString *CellIdentifier = @"Cell";

    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
    }

    cell.textLabel.text = @"Cell";

    UIImageView *iv = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"image.png"]];
    cell.accessoryView = iv;
    [iv release];

    // cell.accessoryView.hidden = YES; // works
    cell.accessoryView.alpha = 0.5f;    // fails

    return cell;
}
</code></pre>

<p>As you may have guessed, the <code>accessoryView</code> is fully opaque. Am I missing something? I can't find any information about what's going on here. </p>

<p>Thanks!</p>
