title: How to place UIButton into the uitableview cell?
body: <p>I am able to create a <code>tableview</code> with  <code>textlabel</code> and with <code>detaillabeltext</code>.</p>
  
  <p>In addition to that, is it possible to add <code>UIButton</code> into the cell.</p>
  
  <p>I mean after the detaillabeltext, can i place a <code>UIButton</code> ( like "Remove" button )</p>
  
  <p>Currently i have the following code</p>
  
  <pre><code>// Customize the appearance of table view cells.
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  //-----------------------------------------------------------------------------------------------------
  {
  
      static NSString *CellIdentifier = @"Cell";
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  
      profileName = [appDelegate.sentItemsList objectAtIndex:indexPath.row];
  
      if (cell == nil) 
      {
          cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier] autorelease];
  
          cell.selectionStyle = UITableViewCellSelectionStyleNone;
      }
  
      NSString *subjectData = [profileName.sent_subject stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]];
  
      cell.textLabel.text = [NSString stringWithFormat: @"%@ ", subjectData];
  
      cell.textLabel.font = [UIFont boldSystemFontOfSize:13];
  
  
      NSString *CompanyName = [profileName.sent_content stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]];
  
      cell.detailTextLabel.text = [NSString stringWithFormat: @"%@ ",CompanyName];
  
      cell.detailTextLabel.font = [UIFont systemFontOfSize:10];
  
      cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;
  
      cell.backgroundColor = [UIColor colorWithRed:230.0/255.0 green:249.0/255.0 blue:230.0/255.0 alpha:2.0];
  
      return cell;
  }
  </code></pre>
  
  <p>Thanks for you time and helps!</p>