title: Remove the tableview gray background color while swipe to right in swift
body: <p>I have a tableview dynamic prototype custom tableview cells.
  My tableview cell color is white and the background of tableview is also white.
  I want swipe to right delete feature for my tableviewcell, and with custom tableviewrowaction
  I have implemented the same in my app with custom tableviewrowaction which is working fine but the only problem is when I swipe right the cell bounces and there is a gray background color behind the cell. I have removed the backgroundview, changed the color of cell and tableview but still when I swipe the cell , I can see the background color as gray.
  Following is the code written to display the custom tableview delete row action</p>
  
  <pre><code>public func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -&gt; [UITableViewRowAction]? {
  
      let deleteAction = UITableViewRowAction(style: .default, title: "") { (action, indexPath) in
          let cell =  self.tableview.cellForRow(at: indexPath) as? CardInfoSwipeCell
          cell?.deleteAction(action)
  
      }
  
      deleteAction.setIcon(iconImage: UIImage(named: "delete")!, backColor: UIColor.white, cellHeight: 100.0, iconSizePercentage: 0.79)
  
      return [deleteAction]
  }
  </code></pre>
  
  <p>Following is the code to set the image on tableviewrowaction</p>
  
  <pre><code>extension UITableViewRowAction {
  
      func setIcon(iconImage: UIImage, backColor: UIColor, cellHeight: CGFloat, iconSizePercentage: CGFloat)
      {
          let iconHeight = cellHeight * iconSizePercentage
          let margin = (cellHeight - iconHeight) / 2 as CGFloat
  
          UIGraphicsBeginImageContextWithOptions(CGSize(width: cellHeight, height: cellHeight), false, 0)
          let context = UIGraphicsGetCurrentContext()
  
          backColor.setFill()
          context!.fill(CGRect(x:0, y:0, width:cellHeight, height:cellHeight))
  
          iconImage.draw(in: CGRect(x: 0, y: margin, width: iconHeight - 10, height: iconHeight - 4))
  
          let actionImage = UIGraphicsGetImageFromCurrentImageContext();
          UIGraphicsEndImageContext();
  
          self.backgroundColor = UIColor.init(patternImage: actionImage!)
      }
  }
  </code></pre>
  
  <p>Please find the attached screenshot where a gray background gets displayed behind
  <a href="https://i.stack.imgur.com/9dWRT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9dWRT.png" alt="Swipe Screenshot"></a></p>
  
  <p>Is there any way to disable the tableview dragging bounce so that it should not be dragged beyond a certain point.</p>