title: Custom Accessory Button in UITableViewCell
body: <p>I am trying to add a custom button in the Accessory View for a UITableViewCell.</p>
  
  <p>I have added the following code:</p>
  
  <pre><code>func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {      
         // ....     
         let button = UIButton(type: .custom)
         button.setImage(UIImage(named: "arrow-right-light.png")?.maskWithColor(color: .white), for: .normal)
         button.addTarget(self, action: #selector(buttonTest), for: .touchUpInside)
         button.tag = indexPath.row
         cell.accessoryView = button
         // ...
  </code></pre>
  
  <p>However, I don't see the button show up on in the Accessory View.</p>