title: Add button to UITableViewCell's Accessory View
body: <p>Goal: when a user selects a cell, a button is added to that cell. Within my didSelectRowAtIndexPath function I have the following:</p>
  
  <pre><code>UIButton *downloadButton = [[UIButton alloc] init];
  downloadButton.titleLabel.text = @"Download";
  [downloadButton setFrame:CGRectMake(40, 0, 100, 20)];
  [[self.tableView cellForRowAtIndexPath:indexPath].accessoryView addSubview:downloadButton];
  [[self.tableView cellForRowAtIndexPath:indexPath].accessoryView setNeedsLayout];
  
  [downloadButton release];
  </code></pre>
  
  <p>Unfortunately that doesn't seem to do anything. Am I redrawing the cell correction? Do I need to add it another way?</p>